First commit

This commit is contained in:
2025-09-13 02:38:36 -04:00
commit fec0c2a09f
32 changed files with 1321 additions and 0 deletions

41
modules/system/user.nix Normal file
View File

@@ -0,0 +1,41 @@
{
inputs,
pkgs,
host,
config,
...
}:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = { inherit inputs host; };
users.eclypse = {
imports = [ ../home ];
home = {
username = "eclypse";
homeDirectory = "/home/eclypse";
stateVersion = "25.05";
};
programs.home-manager.enable = true;
};
backupFileExtension = "backup3";
};
users.mutableUsers = false;
users.users.eclypse = {
isNormalUser = true;
uid = 1000;
description = "Eclypse";
extraGroups = [
"networkmanager"
"wheel"
];
hashedPasswordFile = config.age.secrets.eclypse-password.path;
shell = pkgs.zsh;
};
}