more tidying/commenting code

This commit is contained in:
serenity-F 2024-09-14 02:22:41 +10:00
parent 7349265cce
commit 4a15729286
No known key found for this signature in database

View file

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