mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ 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
|
|
../common/users/misterio
|
|
|
|
../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";
|
|
};
|
|
|
|
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;
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "22.05";
|
|
}
|