mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
Refactor Systems
This commit is contained in:
parent
4d7de09ec4
commit
9c32ed314c
8 changed files with 101 additions and 70 deletions
|
@ -6,21 +6,6 @@ with lib;
|
|||
imports = [ ./hardware.nix ];
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
custom.system.boot.uboot.enable = true;
|
||||
custom.system.xdg.enable = true;
|
||||
custom.system.fonts.enable = true;
|
||||
custom.system.locale.enable = true;
|
||||
custom.system.locale.layout = "us";
|
||||
custom.system.ssh.enable = true;
|
||||
custom.nix.enable = true;
|
||||
custom.hardware.audio.enable = true;
|
||||
custom.hardware.printing.enable = true;
|
||||
custom.desktop.plasma.enable = true;
|
||||
|
||||
custom.user.jopejoe1.enable =true;
|
||||
custom.user.root.enable =true;
|
||||
|
||||
networking.hostName = "yokai";
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
@ -32,4 +17,20 @@ with lib;
|
|||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
# System
|
||||
custom.system.boot.uboot.enable = true;
|
||||
custom.system.xdg.enable = true;
|
||||
custom.system.fonts.enable = true;
|
||||
custom.system.locale.enable = true;
|
||||
custom.system.locale.layout = "us";
|
||||
custom.system.ssh.enable = true;
|
||||
custom.nix.enable = true;
|
||||
custom.hardware.audio.enable = true;
|
||||
custom.hardware.printing.enable = true;
|
||||
custom.desktop.plasma.enable = true;
|
||||
custom.hardware.bluetooth.enable = true;
|
||||
|
||||
# User
|
||||
custom.user.jopejoe1.enable = true;
|
||||
custom.user.root.enable = true;
|
||||
}
|
||||
|
|
|
@ -5,17 +5,6 @@
|
|||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = true;
|
||||
|
||||
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
|
||||
intelBusId = "PCI:0:2:0";
|
||||
|
||||
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
|
||||
|
@ -49,6 +38,4 @@
|
|||
|
||||
# high-resolution display
|
||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue