diff --git a/configs/workhorse/configuration.nix b/configs/workhorse/configuration.nix index e1038f5..57663e1 100644 --- a/configs/workhorse/configuration.nix +++ b/configs/workhorse/configuration.nix @@ -57,8 +57,8 @@ configuration.fireqos = { enable = true; interface = "eth0"; - input = 30000; - output = 2000; + input = 45000; + output = 8000; balance = false; }; diff --git a/configs/workhorse/nextcloud.nix b/configs/workhorse/nextcloud.nix index a804b27..0812a98 100644 --- a/configs/workhorse/nextcloud.nix +++ b/configs/workhorse/nextcloud.nix @@ -145,7 +145,7 @@ in { }; # nextcloud setup - later.services.nextcloud = { + services.nextcloud = { enable = true; autoUpdateApps.enable = true; nginx.enable = true; diff --git a/configs/workout/hardware-configuration.nix b/configs/workout/hardware-configuration.nix index 8f1a2fb..93e64df 100644 --- a/configs/workout/hardware-configuration.nix +++ b/configs/workout/hardware-configuration.nix @@ -27,11 +27,12 @@ in { # lvm volume group # ---------------- - boot.initrd.luks.devices = [{ - name = "vg"; - device = "/dev/sda2"; - preLVM = true; - }]; + boot.initrd.luks.devices = { + vg = { + device = "/dev/sda2"; + preLVM = true; + }; + }; # NTFS support # ------------ diff --git a/modules/default.nix b/modules/default.nix index 2c81bac..f162efb 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -3,7 +3,7 @@ imports = [ ./later/syncthing.nix - ./later/nextcloud.nix + #./later/nextcloud.nix ./services/castget.nix ./services/home-assistant.nix diff --git a/modules/system/bluetooth.nix b/modules/system/bluetooth.nix index b70181e..5d03065 100644 --- a/modules/system/bluetooth.nix +++ b/modules/system/bluetooth.nix @@ -14,10 +14,7 @@ in { hardware.bluetooth = { enable = true; powerOnBoot = true; - extraConfig = '' - [General] - AutoConnect=true - ''; + config.General.AutoConnect = true; }; services.blueman.enable = true; diff --git a/modules/system/font.nix b/modules/system/font.nix index c262ca8..83d3ce4 100644 --- a/modules/system/font.nix +++ b/modules/system/font.nix @@ -23,7 +23,6 @@ in { fonts = { - enableCoreFonts = true; enableFontDir = true; enableGhostscriptFonts = true; diff --git a/modules/system/x11.nix b/modules/system/x11.nix index 4dd3c00..f8a93ad 100644 --- a/modules/system/x11.nix +++ b/modules/system/x11.nix @@ -32,10 +32,8 @@ in { # window-manager : Xmonad # ----------------------- - desktopManager = { - default = "none"; - xterm.enable = false; - }; + desktopManager = { xterm.enable = false; }; + displayManager.defaultSession = "none+xmonad"; displayManager.lightdm = { enable = true; autoLogin.enable = true; @@ -44,7 +42,6 @@ in { windowManager = { xmonad.enable = true; xmonad.enableContribAndExtras = true; - default = "xmonad"; }; # mouse/touchpad diff --git a/pkgs/image-generator/default.nix b/pkgs/image-generator/default.nix index 0f72267..422857b 100644 --- a/pkgs/image-generator/default.nix +++ b/pkgs/image-generator/default.nix @@ -10,8 +10,8 @@ rustPlatform.buildRustPackage rec { sha256 = "1vflkrld7qiikykna2ygw6cv8vn07x458pkrsrxm8imhm579076r"; }; - cargoSha256 = "07pwds279qc54g5fza805ah2m8jhrdzng7vb1bi24a9ra9ci8s29"; - verifyCargoDeps = true; + cargoSha256 = "10s1h1xya2gl5wj9cj104z50d9awv8z2mbply22lpzwzqyxrrxd9"; + #verifyCargoDeps = true; buildInputs = [ cairo ]; @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { description = "An image generator unsing entropy and a JSON as configuration."; homepage = "https://git.ingolf-wagner.de/palo/image-generator2"; - license = licenses.gplv3; + license = licenses.gpl3; maintainers = [ maintainers.mrVanDalo ]; platforms = platforms.all; }; diff --git a/pkgs/taskwarrior-hooks/default.nix b/pkgs/taskwarrior-hooks/default.nix index 50170fd..d7b211a 100644 --- a/pkgs/taskwarrior-hooks/default.nix +++ b/pkgs/taskwarrior-hooks/default.nix @@ -11,13 +11,13 @@ rustPlatform.buildRustPackage rec { }; cargoSha256 = "1ijnh2ank9slmfglw4yhnycl11x26m94m2hiq3hcasmbs6c39zj5"; - verifyCargoDeps = true; + #verifyCargoDeps = true; meta = with stdenv.lib; { description = "A fast line-oriented regex search tool, similar to ag and ack"; homepage = "https://github.com/mrvandalo/taskwarrior-hooks"; - license = licenses.gplv3; + license = licenses.gpl3; maintainers = [ maintainers.mrVanDalo ]; platforms = platforms.all; }; diff --git a/pkgs/terminal-tools/default.nix b/pkgs/terminal-tools/default.nix index 07af407..9082bba 100644 --- a/pkgs/terminal-tools/default.nix +++ b/pkgs/terminal-tools/default.nix @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with stdenv.lib; { description = "tools I use in my shell scripts which should be fast"; homepage = "https://git.ingolf-wagner.de/palo/terminal-tools"; - license = licenses.gplv3; + license = licenses.gpl3; maintainers = [ maintainers.mrVanDalo ]; platforms = platforms.all; }; diff --git a/shell.nix b/shell.nix index 7d1115a..d507e95 100644 --- a/shell.nix +++ b/shell.nix @@ -101,7 +101,7 @@ let #home-manager.file = toString ~/dev/home-manager; home-manager.git = { url = "https://github.com/rycee/home-manager.git"; - ref = "024d1aa227978fe2dae2fb3e56bab9a7237c2401"; + ref = "a378bccd609c159fa8d421233b9c5eae04f02042"; }; background-image-generators.git = { diff --git a/system/all/default.nix b/system/all/default.nix index 6488042..ff0dbb3 100644 --- a/system/all/default.nix +++ b/system/all/default.nix @@ -46,11 +46,9 @@ #time.timeZone = lib.mkDefault "Asia/Singapore"; #time.timeZone = lib.mkDefault "Asia/Makassar"; - i18n = { - consoleFont = "Lat2-Terminus16"; - consoleKeyMap = "us"; - defaultLocale = "en_US.UTF-8"; - }; + i18n.defaultLocale = "en_US.UTF-8"; + console.font = "Lat2-Terminus16"; + console.keyMap = "us"; # swappiness # ---------- diff --git a/system/desktop/home-manager/xmonad.nix b/system/desktop/home-manager/xmonad.nix index 1e89b14..e25c03e 100644 --- a/system/desktop/home-manager/xmonad.nix +++ b/system/desktop/home-manager/xmonad.nix @@ -27,7 +27,7 @@ let nixStartAlbert = "${pkgs.albert}/bin/albert" nixStartCopyq = "${pkgs.copyq}/bin/copyq" nixShowCopyq = "${pkgs.copyq}/bin/copyq show" - nixStartTerminal = "${pkgs.rxvt_unicode_with-plugins}/bin/urxvtc" + nixStartTerminal = "${pkgs.rxvt_unicode}/bin/urxvtc" nixAlsaRaiseVolume = "${pkgs.alsaUtils}/bin/amixer set Master 5%+" nixAlsaLowerVolume = "${pkgs.alsaUtils}/bin/amixer set Master 5%-" nixAlsaMute = "${pkgs.alsaUtils}/bin/amixer set Master toggle"