From 0a37fb5863a3ed53bd194c290cca66eac783fb34 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Sat, 19 Jul 2025 19:28:43 +0200 Subject: [PATCH 1/3] default.nix: cleanup Signed-off-by: Bloxx12 Change-Id: I6a6a6964349f8e23a87c2c0c9ab0d949d1bb92ad --- default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/default.nix b/default.nix index ca462d5..7306079 100644 --- a/default.nix +++ b/default.nix @@ -1,7 +1,5 @@ let - inherit (builtins) mapAttrs; - inherit (builtins) filter; - inherit (builtins) currentSystem; + inherit (builtins) currentSystem filter mapAttrs; # https://github.com/andir/npins?tab=readme-ov-file#using-the-nixpkgs-fetchers src = import ./npins; @@ -14,7 +12,6 @@ let mkSystem = system: hostname: import (src.nixpkgs + "/nixos/lib/eval-config.nix") { - system = currentSystem; specialArgs = { inherit sources; self = ./.; From 7ac4ac73c06eaf576c486afe5cbc767aeec69bfd Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Sat, 19 Jul 2025 23:52:20 +0200 Subject: [PATCH 2/3] nushell: config: fix switch command Signed-off-by: Bloxx12 Change-Id: I6a6a696416730a7fd831e8dfde51397e6ea41577 --- packages/nushell/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nushell/config.nu b/packages/nushell/config.nu index 738e2e3..65a7547 100644 --- a/packages/nushell/config.nu +++ b/packages/nushell/config.nu @@ -316,7 +316,7 @@ if not ($env_vars_file | path exists) { } def switch [] { - nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname) + nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname | str trim) } # fix sudo by prepending /run/wrappers/bin to the PATH. From 1cffdd7818f211b0da559fe80ad592626f16cbd7 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Sat, 19 Jul 2025 23:52:33 +0200 Subject: [PATCH 3/3] temperance: programs: drop emacs Signed-off-by: Bloxx12 Change-Id: I6a6a69643f4d6374e81e8cc6b33ff02661b7b0c7 --- hosts/temperance/programs.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/hosts/temperance/programs.nix b/hosts/temperance/programs.nix index 7e8725d..4d1f8bd 100644 --- a/hosts/temperance/programs.nix +++ b/hosts/temperance/programs.nix @@ -9,7 +9,6 @@ bubblewrap cachix calc - emacs calibre carapace comma