beginning of dendritic rebuild
This commit is contained in:
parent
080e929cbc
commit
d924909d3b
56 changed files with 121 additions and 149 deletions
46
modules/users/serenity.nix
Normal file
46
modules/users/serenity.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ self, inputs, ... }:
|
||||
let
|
||||
name = "serenity";
|
||||
home = "/home/${name}";
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.user =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
verbose = true;
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
backupFileExtension = "backup";
|
||||
overwriteBackup = true;
|
||||
|
||||
users.${name} = {
|
||||
imports = with self.modules.homeManager; [
|
||||
{
|
||||
home = {
|
||||
username = name;
|
||||
homeDirectory = home;
|
||||
stateVersion = "26.05";
|
||||
};
|
||||
}
|
||||
kitty
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
users.users.${name} = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "password";
|
||||
inherit home;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
shell = pkgs.fish; # TODO: Don't hardcode this.
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue