From d90654d02e0ceac219a9c1602a7a24f2395d20b8 Mon Sep 17 00:00:00 2001 From: Sky Hearn Date: Mon, 4 Mar 2024 17:32:22 -0800 Subject: [PATCH] give each user their own file --- flake.nix | 5 ++++- jas.nix | 8 ++++++++ ku.nix | 8 ++++++++ nub.nix | 8 ++++++++ sky.nix | 9 +++++++++ users.nix | 36 ------------------------------------ 6 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 jas.nix create mode 100644 ku.nix create mode 100644 nub.nix create mode 100644 sky.nix diff --git a/flake.nix b/flake.nix index fd4d0cd..3d052a5 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,10 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.jdoe = import ./home.nix; + home-manager.users.ku = import ./ku.nix; + home-manager.users.nub = import ./nub.nix; + home-manager.users.jas = import ./jas.nix; + home-manager.users.sky = import ./sky.nix; # Optionally, use home-manager.extraSpecialArgs to pass # arguments to home.nix diff --git a/jas.nix b/jas.nix new file mode 100644 index 0000000..e86954e --- /dev/null +++ b/jas.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + home.packages = [ ]; + programs.bash.enable = true; + + # The state version is required and should stay at the version you + # originally installed. + home.stateVersion = "23.11"; +} diff --git a/ku.nix b/ku.nix new file mode 100644 index 0000000..e86954e --- /dev/null +++ b/ku.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + home.packages = [ ]; + programs.bash.enable = true; + + # The state version is required and should stay at the version you + # originally installed. + home.stateVersion = "23.11"; +} diff --git a/nub.nix b/nub.nix new file mode 100644 index 0000000..e86954e --- /dev/null +++ b/nub.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + home.packages = [ ]; + programs.bash.enable = true; + + # The state version is required and should stay at the version you + # originally installed. + home.stateVersion = "23.11"; +} diff --git a/sky.nix b/sky.nix new file mode 100644 index 0000000..e978d08 --- /dev/null +++ b/sky.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + home.packages = [ ]; + programs.bash.enable = true; + + # The state version is required and should stay at the version you + # originally installed. + home.stateVersion = "23.11"; +} + diff --git a/users.nix b/users.nix index b8fa255..da1ea55 100644 --- a/users.nix +++ b/users.nix @@ -13,42 +13,6 @@ users.groups.wheel.members=["sky"]; - home-manager.users.sky = { pkgs, ... }: { - home.packages = [ ]; - programs.bash.enable = true; - - # The state version is required and should stay at the version you - # originally installed. - home.stateVersion = "23.11"; - }; - - home-manager.users.ku = { pkgs, ... }: { - home.packages = [ ]; - programs.bash.enable = true; - - # The state version is required and should stay at the version you - # originally installed. - home.stateVersion = "23.11"; - }; - - home-manager.users.nub = { pkgs, ... }: { - home.packages = [ ]; # TODO: Copy ku's nvconfig - programs.bash.enable = true; - - # The state version is required and should stay at the version you - # originally installed. - home.stateVersion = "23.11"; - }; - - home-manager.users.jas = { pkgs, ... }: { - home.packages = [ nano ]; - programs.bash.enable = true; - - # The state version is required and should stay at the version you - # originally installed. - home.stateVersion = "23.11"; - }; - users.extraUsers.podman.extraGroups = [ "podman" ]; home-manager.users.podman = { pkgs, ... }: { home.packages = [ ];