Compare commits
13 commits
af7280187a
...
ccf222eb9c
| Author | SHA1 | Date | |
|---|---|---|---|
| ccf222eb9c | |||
| a008c9b73b | |||
| 50f95ce1e1 | |||
| 15687fc8b0 | |||
| 2a7957efea | |||
| ae21b93424 | |||
| 7a406520e1 | |||
| 21a5705631 | |||
| 0ba3d37813 | |||
| 5d511a029c | |||
| e72a8b3f0f | |||
| fae47faaff | |||
| eb59aa14e8 |
2 changed files with 9 additions and 4 deletions
|
|
@ -51,12 +51,8 @@ in
|
|||
ui = {
|
||||
# Stop nagging me about it, though I am not a fan of its UI.
|
||||
diff-editor = ":builtin";
|
||||
# I don't like word-diff
|
||||
diff-formatter = ":git";
|
||||
# Stop nagging me about it, though I am not a fan of its UI.
|
||||
merge-editor = ":builtin";
|
||||
# Does not honor `$PAGER` (anymore)
|
||||
pager = lib.mkDefault config.home.sessionVariables.PAGER;
|
||||
};
|
||||
|
||||
# FIXME: git equivalents
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ in
|
|||
|
||||
amd = {
|
||||
enableKernelModule = lib.my.mkDisableOption "Kernel driver module";
|
||||
|
||||
amdvlk = lib.mkEnableOption "Use AMDVLK instead of Mesa RADV driver";
|
||||
};
|
||||
|
||||
intel = {
|
||||
|
|
@ -33,6 +35,13 @@ in
|
|||
(lib.mkIf (cfg.gpuFlavor == "amd") {
|
||||
hardware.amdgpu = {
|
||||
initrd.enable = cfg.amd.enableKernelModule;
|
||||
# Vulkan
|
||||
amdvlk = lib.mkIf cfg.amd.amdvlk {
|
||||
enable = true;
|
||||
support32Bit = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hardware.graphics = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue