Compare commits

...

2 commits

Author SHA1 Message Date
1475ab094c add git config
Some checks are pending
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24418 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24420 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24419 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #24421 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.rainbow-resort Hydra build #24424 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #24425 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.pc-installer Hydra build #24423 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522-installer Hydra build #24422 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra checks.x86_64-linux.containers-default Hydra build #24417 of nixos-config:pr618:checks.x86_64-linux.containers-default
2024-11-08 20:23:42 +01:00
e52cdb303d Revert "add radv and amdvlk"
This reverts commit ec66f90137.
2024-11-08 20:23:09 +01:00
4 changed files with 26 additions and 10 deletions

View file

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

View file

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

View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./git.nix
];
}

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