Clean up in accordance with unofficial nix-linter.

This commit is contained in:
Kevin Baensch 2019-05-09 18:28:40 +02:00
parent cfa7222f4d
commit 0ddcaf4085
34 changed files with 49 additions and 75 deletions

View file

@ -2,8 +2,6 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ lib, ... }:
with lib;

View file

@ -1,8 +1,6 @@
{ config, lib, pkgs, ... }:
{ pkgs, ... }:
let
cfg = import ./configuration.nix;
in {
{
imports = [
./hardware-configuration.nix
];

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, pkgs, ... }:
{
imports = [

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ pkgs, ... }:
{
imports = [

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }:
{ pkgs, ... }:
let
localpkgs = import <nixpkgs-local> {};
musnix_channel = (fetchTarball "https://github.com/musnix/musnix/archive/master.tar.gz");
# vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
in {
@ -26,7 +25,7 @@ in {
initrd.kernelModules = [ "hid-multitouch" ];
initrd.availableKernelModules = [ "hid-microsoft" "hid-multitouch" "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
kernelModules = [ "kvm-intel" "hid-microsoft" "hid-multitouch" "uinput" ] ++ [ "snd-seq" "snd-rawmidi" ];
kernelModules = [ "kvm-intel" "hid-microsoft" "hid-multitouch" "uinput" ];
kernel.sysctl = { "fs.inotify.max_user_watches" = 524288; };
kernelParams = [ "threadirq" ];
extraModulePackages = [ ];

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
with lib;

View file

@ -2,8 +2,6 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ pkgs, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ lib, ... }:
with lib;