more tidying/commenting code
This commit is contained in:
parent
7349265cce
commit
4a15729286
1 changed files with 16 additions and 18 deletions
|
|
@ -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 = {
|
||||||
|
## This is where the user configs/packages are imported
|
||||||
imports = [ ./u-serenity.nix];
|
imports = [ ./u-serenity.nix];
|
||||||
home = {
|
home = {
|
||||||
username = "serenity";
|
username = "serenity";
|
||||||
homeDirectory = "/home/serenity";
|
homeDirectory = "/home/serenity"
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue