diff --git a/flake.nix b/flake.nix index 8235e59..cc51ece 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,7 @@ ./packages/default.nix ./hosts/gemini/default.nix ./users/nyadmin/default.nix + ./users/cirno/default.nix home-manager.nixosModules.home-manager { @@ -74,6 +75,7 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.nyadmin = import ./users/nyadmin/home.nix; + home-manager.users.cirno = import ./users/cirno/home.nix; } ]; }; diff --git a/users/cirno/default.nix b/users/cirno/default.nix new file mode 100644 index 0000000..4870a94 --- /dev/null +++ b/users/cirno/default.nix @@ -0,0 +1,29 @@ +{ config, pkgs, lib, ... }: + +{ + + + config = { + + programs = { + firefox.enable = true; + }; + + services = { + displayManager.sddm = { + enable = true; + wayland.enable = true; + }; + desktopManager.plasma6.enable = true; + }; + + users.users.cirno = { + isNormalUser = true; + shell = pkgs.zsh; + home = "/home/cirno"; + description = "user for guests/cirno people"; + extraGroups = [ "" ]; + initialHashedPassword = "$6$2f8vjQbdKyEBqPRT$FrZBZfzpJGqNqLlCyb7CzRNm0wuZwfRI7Qj/dUQlbtLixyJK5Im9AJT7GXmP5StfhZxSbH/wW8nDGPQm98NXV0"; + }; + }; +} diff --git a/users/cirno/home.nix b/users/cirno/home.nix new file mode 100644 index 0000000..2b43031 --- /dev/null +++ b/users/cirno/home.nix @@ -0,0 +1,15 @@ +{ config, + nixosConfig, + pkgs, + lib, + inputs, + home-manager, + ... }: + let + + in + { + + home.stateVersion = "24.05"; + home.homeDirectory = "/home/cirno"; + }