users: Added "gaspard" user
This commit is contained in:
parent
9110a59790
commit
4faf40af77
3 changed files with 46 additions and 6 deletions
14
flake.nix
14
flake.nix
|
@ -39,11 +39,22 @@
|
|||
modules = [
|
||||
./hosts/Zephyrus
|
||||
disko.nixosModules.disko
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
|
||||
homeConfigurations = {
|
||||
"gaspard" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {inherit hy3;};
|
||||
modules = [
|
||||
./users/gaspard.nix
|
||||
];
|
||||
};
|
||||
|
||||
"culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {inherit hy3;};
|
||||
|
@ -51,6 +62,7 @@
|
|||
./users/culisg.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
|
|
@ -10,4 +10,17 @@
|
|||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
# User config
|
||||
users.groups.gaspard = {
|
||||
name = "gaspard";
|
||||
};
|
||||
users.users.gaspard = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"video"
|
||||
];
|
||||
group = "gaspard";
|
||||
};
|
||||
}
|
||||
|
|
15
users/gaspard.nix
Normal file
15
users/gaspard.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{...}: {
|
||||
home.username = "gaspard";
|
||||
home.homeDirectory = "/home/gaspard";
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs.direnv.enable = true;
|
||||
|
||||
imports = [
|
||||
../../shell
|
||||
../../term
|
||||
../../editor
|
||||
../../de
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue