diff --git a/flake.nix b/flake.nix index fd62266..3f56a97 100644 --- a/flake.nix +++ b/flake.nix @@ -92,6 +92,7 @@ ./users.nix ./machines/yoga/configuration.nix ./machines/yoga/hardware-configuration.nix + ./machines/yoga/users.nix home-manager.nixosModules.home-manager { @@ -104,6 +105,11 @@ ./machines/yoga/home-${user}.nix ]; }; + home-manager.users.scf = { + imports = [ + ./machines/yoga/home-scf.nix + ]; + }; } ]; }; diff --git a/machines/yoga/home-scf.nix b/machines/yoga/home-scf.nix new file mode 100644 index 0000000..da2af68 --- /dev/null +++ b/machines/yoga/home-scf.nix @@ -0,0 +1,4 @@ +{ config, lib, pkgs, user, ... }: + +{ } + diff --git a/machines/yoga/users.nix b/machines/yoga/users.nix new file mode 100644 index 0000000..9bb6f4c --- /dev/null +++ b/machines/yoga/users.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + users = { + mutableUsers = false; + + users.scf = { + isNormalUser = true; + uid = 1666; + home = "/home/scf"; + shell = pkgs.zsh; + extraGroups = [ "networkmanager" "audio" "video" "input" ]; + hashedPassword = "$6$g83odibuCd5n67PJ$CZ/Z/11zUdBIQ86DEkdi2G1JnEkLYR/YZUPcMXKAb6GNUX7BjlUUVFAstbTRe3WEK.lg9h5/oqwSvmbJMcUt6/"; + }; + }; +} +