2023-09-15 14:53:38 +00:00
|
|
|
{ pkgs, inputs, ... }: {
|
|
|
|
imports = [
|
|
|
|
inputs.hardware.nixosModules.common-cpu-amd
|
|
|
|
inputs.hardware.nixosModules.common-gpu-amd
|
|
|
|
inputs.hardware.nixosModules.common-pc-ssd
|
|
|
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
|
|
../common/global
|
2023-09-19 17:05:08 +00:00
|
|
|
../common/users/gburd
|
2023-09-15 14:53:38 +00:00
|
|
|
|
2023-09-19 18:17:19 +00:00
|
|
|
../common/optional/gnome.nix
|
2023-09-19 17:05:08 +00:00
|
|
|
../common/optional/x11-keymap.nix
|
2023-09-15 14:53:38 +00:00
|
|
|
../common/optional/gamemode.nix
|
|
|
|
../common/optional/wireless.nix
|
|
|
|
../common/optional/greetd.nix
|
|
|
|
../common/optional/pipewire.nix
|
|
|
|
../common/optional/quietboot.nix
|
|
|
|
../common/optional/lol-acfix.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "loki";
|
|
|
|
};
|
|
|
|
|
2023-09-19 17:05:08 +00:00
|
|
|
# Enable networking
|
|
|
|
# networking.networkmanager.enable = true;
|
|
|
|
|
2023-09-15 14:53:38 +00:00
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
|
|
|
};
|
|
|
|
|
|
|
|
powerManagement.powertop.enable = true;
|
|
|
|
programs = {
|
|
|
|
light.enable = true;
|
|
|
|
adb.enable = true;
|
|
|
|
dconf.enable = true;
|
|
|
|
kdeconnect.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Lid settings
|
|
|
|
services.logind = {
|
|
|
|
lidSwitch = "suspend";
|
|
|
|
lidSwitchExternalPower = "lock";
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
wlr.enable = true;
|
|
|
|
};
|
|
|
|
hardware = {
|
|
|
|
opengl = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = with pkgs; [ amdvlk ];
|
|
|
|
driSupport = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-19 17:05:08 +00:00
|
|
|
system.stateVersion = "23.05";
|
2023-09-15 14:53:38 +00:00
|
|
|
}
|