You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.6 KiB
74 lines
1.6 KiB
{ 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/ckb-next.nix
|
|
../common/optional/greetd.nix
|
|
../common/optional/pipewire.nix
|
|
../common/optional/quietboot.nix
|
|
../common/optional/lol-acfix.nix
|
|
../common/optional/starcitizen-fixes.nix
|
|
];
|
|
|
|
# TODO: theme "greeter" user GTK instead of using misterio to login
|
|
services.greetd.settings.default_session.user = "misterio";
|
|
|
|
networking = {
|
|
hostName = "atlas";
|
|
useDHCP = true;
|
|
interfaces.enp8s0 = {
|
|
useDHCP = true;
|
|
wakeOnLan.enable = true;
|
|
|
|
ipv4 = {
|
|
addresses = [{
|
|
address = "192.168.0.12";
|
|
prefixLength = 24;
|
|
}];
|
|
};
|
|
ipv6 = {
|
|
addresses = [{
|
|
address = "2804:14d:8084:a484::2";
|
|
prefixLength = 64;
|
|
}];
|
|
};
|
|
};
|
|
};
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
|
binfmt.emulatedSystems = [ "aarch64-linux" "i686-linux" ];
|
|
};
|
|
|
|
programs = {
|
|
adb.enable = true;
|
|
dconf.enable = true;
|
|
kdeconnect.enable = true;
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
wlr.enable = true;
|
|
};
|
|
|
|
hardware = {
|
|
opengl = {
|
|
enable = true;
|
|
extraPackages = with pkgs; [ amdvlk ];
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
openrgb.enable = true;
|
|
opentabletdriver.enable = true;
|
|
};
|
|
|
|
system.stateVersion = "22.05";
|
|
}
|
|
|