diff options
Diffstat (limited to 'machines/x220-gnome')
-rw-r--r-- | machines/x220-gnome/configuration.nix | 10 | ||||
-rw-r--r-- | machines/x220-gnome/pn.nix | 18 |
2 files changed, 19 insertions, 9 deletions
diff --git a/machines/x220-gnome/configuration.nix b/machines/x220-gnome/configuration.nix index 30cfac6..ea23c3e 100644 --- a/machines/x220-gnome/configuration.nix +++ b/machines/x220-gnome/configuration.nix @@ -7,6 +7,7 @@ ./gnome.nix ./pass.nix ./hardware-configuration.nix + ./pn.nix ]; # Enable networking @@ -30,15 +31,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.pn = { - isNormalUser = true; - description = "Patryk Niedzwiedzinski"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - gnomeExtensions.gsconnect - ]; - }; programs.vim.defaultEditor = true; programs.nano.enable = false; diff --git a/machines/x220-gnome/pn.nix b/machines/x220-gnome/pn.nix new file mode 100644 index 0000000..add63cd --- /dev/null +++ b/machines/x220-gnome/pn.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: +{ + + + + + users.users.pn = { + isNormalUser = true; + description = "Patryk Niedzwiedzinski"; + extraGroups = [ "networkmanager" "wheel" ]; + packages = with pkgs; [ + gnomeExtensions.gsconnect + ]; + }; + + + +} |