feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
3 changed files with 46 additions and 6 deletions
Showing only changes of commit 4faf40af77 - Show all commits

View file

@ -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; [

View file

@ -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
View 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
];
}