Compare commits
2 commits
ec66f90137
...
1475ab094c
Author | SHA1 | Date | |
---|---|---|---|
1475ab094c | |||
e52cdb303d |
4 changed files with 26 additions and 10 deletions
|
@ -43,14 +43,4 @@
|
|||
"gccarch-skylake-avx512"
|
||||
"ca-derivations"
|
||||
];
|
||||
hardware.opengl = {
|
||||
## radv: an open-source Vulkan driver from freedesktop
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
|
||||
## amdvlk: an open-source Vulkan driver from AMD
|
||||
extraPackages = [ pkgs.amdvlk ];
|
||||
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -18,5 +18,6 @@
|
|||
};
|
||||
home-manager.users.darkkirb.sops.age.keyFile = config.sops.secrets."users/users/darkkirb/age-key".path;
|
||||
home-manager.users.darkkirb.home.persistence.default.directories = ["sources" "Games"];
|
||||
home-manager.users.darkkirb.imports = [./home-manager];
|
||||
environment.impermanence.users = ["darkkirb"];
|
||||
}
|
||||
|
|
5
users/darkkirb/home-manager/default.nix
Normal file
5
users/darkkirb/home-manager/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./git.nix
|
||||
];
|
||||
}
|
20
users/darkkirb/home-manager/git.nix
Normal file
20
users/darkkirb/home-manager/git.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{pkgs, systemConfig, ...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package =
|
||||
if systemConfig.isGraphical
|
||||
then pkgs.gitAndTools.gitFull
|
||||
else pkgs.git;
|
||||
lfs.enable = true;
|
||||
userEmail = "lotte@chir.rs";
|
||||
userName = "Charlotte 🦝 Delenk";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
merge.conflictstyle = "diff3";
|
||||
push.autoSetupRemote = true;
|
||||
rerere.enabled = true;
|
||||
};
|
||||
delta.enable = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue