unclutter

This commit is contained in:
unexplrd
2025-02-07 13:31:41 +02:00
parent ff5765eeee
commit a33f397432
11 changed files with 188 additions and 194 deletions

View File

@ -9,18 +9,15 @@
self.nixosModules.desktop
self.nixosModules.system
./hardware-conf.nix
./users.nix
./programs.nix
./stylix.nix
./users.nix
];
desktop = {
niri.enable = true;
plasma.enable = true;
};
services.logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
nix.settings.experimental-features = ["nix-command" "flakes"];
system.stateVersion = "unstable";
@ -28,13 +25,14 @@
time.timeZone = "Europe/Kyiv";
locale.ukrainian.enable = true;
networking.hostName = "dunamis";
networking.networkmanager.enable = true;
# required for syncthing
networking.firewall = {
allowedTCPPorts = [22000];
allowedUDPPorts = [21027 22000];
networking = {
networkmanager.enable = true;
hostName = "dunamis";
# required for syncthing
firewall = {
allowedTCPPorts = [22000];
allowedUDPPorts = [21027 22000];
};
};
boot = {

View File

@ -11,21 +11,24 @@
wireless.bluetooth.enable = true;
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [
"i915"
];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
boot.initrd.systemd.enable = true;
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
vpl-gpu-rt
];
services.logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
boot = {
kernelModules = ["kvm-amd"];
extraModulePackages = [];
initrd = {
luks.devices."luks-fe586da4-b164-4362-bcdf-9c5dd6c69a2b".device = "/dev/disk/by-uuid/fe586da4-b164-4362-bcdf-9c5dd6c69a2b";
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
kernelModules = [
"i915"
];
systemd.enable = true;
};
};
boot.initrd.luks.devices."luks-fe586da4-b164-4362-bcdf-9c5dd6c69a2b".device = "/dev/disk/by-uuid/fe586da4-b164-4362-bcdf-9c5dd6c69a2b";
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a";
@ -51,6 +54,13 @@
swapDevices = [];
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
vpl-gpu-rt
];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@ -5,12 +5,11 @@
./programs.nix
./flatpak.nix
];
desktop.niri.enable = true;
home = {
stateVersion = "25.05";
sessionPath = [
"$HOME/.local/bin"
];
};
desktop.niri.enable = true;
# stylix.image = "${config.xdg.userDirs.pictures}/wallpapers/wallhaven-2evrxy.png";
}

View File

@ -9,18 +9,13 @@
self.nixosModules.desktop
self.nixosModules.system
./hardware-conf.nix
./users.nix
./programs.nix
./stylix.nix
./users.nix
];
desktop = {
hyprland.enable = true;
# niri.enable = true;
# plasma.enable = true;
};
services.logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
nix.settings.experimental-features = ["nix-command" "flakes"];
@ -29,13 +24,14 @@
time.timeZone = "Europe/Kyiv";
locale.ukrainian.enable = true;
networking.hostName = "vylxae";
networking.networkmanager.enable = true;
# required for syncthing
networking.firewall = {
allowedTCPPorts = [22000];
allowedUDPPorts = [21027 22000];
networking = {
networkmanager.enable = true;
hostName = "vylxae";
# required for syncthing
firewall = {
allowedTCPPorts = [22000];
allowedUDPPorts = [21027 22000];
};
};
boot = {
@ -57,10 +53,8 @@
services = {
power-profiles-daemon.enable = true;
hardware.openrgb.enable = true;
flatpak.enable = true;
fstrim.enable = true;
fwupd.enable = true;
openssh.enable = true;
};
services.scx = {

View File

@ -17,56 +17,57 @@
bluetooth.enable = true;
};
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod" "rtsx_pci_sdmmc"];
boot.initrd.kernelModules = ["i915"];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
boot.kernelParams = [
"i915.enable_guc=2"
"i915.enable_fbc=1"
"i915.enable_psr=2"
];
fileSystems."/" = {
device = "/dev/disk/by-uuid/6b850c3a-c7a2-461d-bce5-c631df4226bf";
fsType = "btrfs";
options = ["subvol=@nixos,compress=zstd"];
services.logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
boot.initrd.luks.devices."luks-149371a0-a41f-4c43-8935-cb199508c66a".device = "/dev/disk/by-uuid/149371a0-a41f-4c43-8935-cb199508c66a";
fileSystems."/home" = {
device = "/dev/disk/by-uuid/6b850c3a-c7a2-461d-bce5-c631df4226bf";
fsType = "btrfs";
options = ["subvol=home,compress=zstd"];
boot = {
kernelModules = ["kvm-intel"];
extraModulePackages = [];
kernelParams = [
"i915.enable_guc=2"
"i915.enable_fbc=1"
"i915.enable_psr=2"
];
initrd = {
luks.devices."luks-149371a0-a41f-4c43-8935-cb199508c66a".device = "/dev/disk/by-uuid/149371a0-a41f-4c43-8935-cb199508c66a";
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod" "rtsx_pci_sdmmc"];
kernelModules = ["i915"];
};
};
fileSystems."/storage" = {
device = "/dev/disk/by-uuid/6b850c3a-c7a2-461d-bce5-c631df4226bf";
fsType = "btrfs";
options = ["subvol=@storage,compress=zstd"];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/6b850c3a-c7a2-461d-bce5-c631df4226bf";
fsType = "btrfs";
options = ["subvol=@nixos,compress=zstd"];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/F195-F7C0";
fsType = "vfat";
options = ["umask=0077"];
"/home" = {
device = "/dev/disk/by-uuid/6b850c3a-c7a2-461d-bce5-c631df4226bf";
fsType = "btrfs";
options = ["subvol=home,compress=zstd"];
};
"/storage" = {
device = "/dev/disk/by-uuid/6b850c3a-c7a2-461d-bce5-c631df4226bf";
fsType = "btrfs";
options = ["subvol=@storage,compress=zstd"];
};
"/boot" = {
device = "/dev/disk/by-uuid/F195-F7C0";
fsType = "vfat";
options = ["umask=0077"];
};
};
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s20f0u1u2.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# hardware.intelgpu.vaapiDriver = "intel-media-driver";
services.udev.extraHwdb = ''
evdev:input:b0011v0001p0001eAB83*

View File

@ -16,10 +16,10 @@
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 32;
size = 24;
};
image = ../../wallpapers/wallhaven-p966oj.jpg;
opacity.terminal = 0.9;
opacity.terminal = 0.7;
fonts = {
sizes = {
applications = 14;

View File

@ -5,12 +5,11 @@
./programs.nix
./flatpak.nix
];
desktop.hyprland.enable = true;
home = {
stateVersion = "25.05";
sessionPath = [
"$HOME/.local/bin"
];
};
desktop.hyprland.enable = true;
# stylix.image = "${config.xdg.userDirs.pictures}/wallpapers/wallhaven-2evrxy.png";
}