{ inputs, outputs, pkgs, ... }: { imports = [ inputs.home-manager.nixosModules.default ]; users.users = { ## Define users like this serenity = { description = "Serenity Amalgam"; isNormalUser = true; extraGroups = [ "wheel" "networkmanager" "gamemode" "audio" ]; ## be sure to change this with 'passwd' initialPassword = "password"; ## A catgirl's favourite shell shell = pkgs.fish; }; }; home-manager = { ## Enables verbose output on activation verbose = true; ## This line passes in specialArgs from flake.nix extraSpecialArgs = { inherit inputs outputs; }; ## This line ensures all packages declared follow the ## same nix-channel we declared in the flake.nix useGlobalPkgs = true; useUserPackages = true; backupFileExtension = "backup"; users = { ## Also make sure to include a user definition here serenity = { ## This is where the user configs/packages are imported imports = [ ./u-serenity.nix ]; home = { username = "serenity"; homeDirectory = "/home/serenity"; }; }; }; }; }