From c7df1d2ba11f76c7f216420393bfc0ab8c1885c4 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 2 Mar 2024 00:08:54 -0500 Subject: [PATCH] move user info to ./users directory --- flake.nix | 2 ++ system/default.nix | 7 ------- users/aly.nix | 10 ++++++++++ users/dustin.nix | 10 ++++++++++ 4 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 users/aly.nix create mode 100644 users/dustin.nix diff --git a/flake.nix b/flake.nix index 4ca23de6..dd114fa4 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ modules = [ ./hosts/rustboro ./system + ./users/aly.nix ./flatpak ./desktop/gnome ./programs/podman @@ -53,6 +54,7 @@ modules = [ ./hosts/petalburg ./system + ./users/aly.nix ./flatpak ./desktop/gnome ./programs/podman diff --git a/system/default.nix b/system/default.nix index 6f34585d..18978375 100644 --- a/system/default.nix +++ b/system/default.nix @@ -24,13 +24,6 @@ LC_TELEPHONE = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8"; }; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.aly = { - isNormalUser = true; - description = "Aly Raffauf"; - extraGroups = [ "networkmanager" "wheel" "docker" ]; - }; # Allow unfree packages nixpkgs.config.allowUnfree = true; diff --git a/users/aly.nix b/users/aly.nix new file mode 100644 index 00000000..ffa92744 --- /dev/null +++ b/users/aly.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.aly = { + isNormalUser = true; + description = "Aly Raffauf"; + extraGroups = [ "networkmanager" "wheel" "docker" ]; + }; +} diff --git a/users/dustin.nix b/users/dustin.nix new file mode 100644 index 00000000..ed165c96 --- /dev/null +++ b/users/dustin.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.aly = { + isNormalUser = true; + description = "Dustin Raffauf"; + extraGroups = [ "networkmanager" "wheel" "docker" ]; + }; +}