Compare commits
2 commits
08e019192d
...
4faf40af77
Author | SHA1 | Date | |
---|---|---|---|
|
4faf40af77 | ||
|
9110a59790 |
4 changed files with 46 additions and 6 deletions
16
flake.nix
16
flake.nix
|
@ -39,19 +39,31 @@
|
|||
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 = [
|
||||
./nix/profiles/culisg.nix
|
||||
./users/gaspard.nix
|
||||
];
|
||||
};
|
||||
|
||||
"culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {inherit hy3;};
|
||||
modules = [
|
||||
./users/culisg.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
git
|
||||
|
|
|
@ -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