From 2b0a16d201c07ebf4668344247241f559473f4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 3 Nov 2024 18:36:55 +0100 Subject: [PATCH] i keep forgetting that this is not the same thing --- programs/default.nix | 10 +++------- programs/home-manager.nix | 9 +++++++++ 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 programs/home-manager.nix diff --git a/programs/default.nix b/programs/default.nix index 2c90dc4b..b32d4c1d 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -2,11 +2,7 @@ _: { imports = [ ./shell ]; - programs.eza.enable = true; - programs.bat.enable = true; - programs.fzf.enable = true; - home.shellAliases = { - cat = "bat"; - less = "bat"; - }; + home-manager.users.root.imports = [ + ./home-manager.nix + ]; } diff --git a/programs/home-manager.nix b/programs/home-manager.nix new file mode 100644 index 00000000..aed97a67 --- /dev/null +++ b/programs/home-manager.nix @@ -0,0 +1,9 @@ +{...}: { + programs.eza.enable = true; + programs.bat.enable = true; + programs.fzf.enable = true; + home.shellAliases = { + cat = "bat"; + less = "bat"; + }; +}