notohh
193f2480d7
Some checks failed
ci/woodpecker/cron/flake-lock-update Pipeline failed
license: update pkgs: remove scls nix: update inputs and insecure pkgs tsuki: init gaming file blocky: update blocklist pgres: add dbs home: update themes programs: init opencomposite media: remove spotify-player helix: update theme and scls tsuki: remove stylix overlays: set chatterino tag to null
95 lines
1.7 KiB
Nix
Executable file
95 lines
1.7 KiB
Nix
Executable file
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs.nix-gaming.nixosModules.pipewireLowLatency
|
|
inputs.hyprland.nixosModules.default
|
|
./hardware.nix
|
|
./services
|
|
./networking.nix
|
|
./gaming.nix
|
|
../common.nix
|
|
../../home/wayland
|
|
../../modules
|
|
../../modules/fonts.nix
|
|
../../pkgs/overlays.nix
|
|
];
|
|
|
|
virtualisation = {
|
|
libvirtd.enable = true;
|
|
waydroid.enable = false;
|
|
};
|
|
services = {
|
|
pulseaudio.enable = false;
|
|
pcscd.enable = true;
|
|
flatpak.enable = true;
|
|
avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
publish = {
|
|
enable = true;
|
|
userServices = true;
|
|
domain = true;
|
|
};
|
|
};
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
wireplumber.enable = true;
|
|
lowLatency = {
|
|
enable = true;
|
|
quantum = 64;
|
|
rate = 48000;
|
|
};
|
|
};
|
|
xserver = {
|
|
enable = true;
|
|
videoDrivers = ["amdgpu"];
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
};
|
|
};
|
|
};
|
|
security = {
|
|
rtkit.enable = true;
|
|
polkit.enable = true;
|
|
pam = {
|
|
services.hyprlock = {};
|
|
};
|
|
};
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
portalPackage = inputs.xdg-portal-hyprland.packages.${pkgs.system}.default;
|
|
};
|
|
corectrl.enable = true;
|
|
dconf.enable = true;
|
|
appimage = {
|
|
enable = true;
|
|
binfmt = true;
|
|
};
|
|
};
|
|
hardware = {
|
|
graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
};
|
|
opentabletdriver = {
|
|
enable = true;
|
|
daemon.enable = true;
|
|
};
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
nil
|
|
libvirt
|
|
qemu_kvm
|
|
zulu
|
|
zulu17
|
|
];
|
|
}
|