Added desktop monitor configs and removed battery from bar

This commit is contained in:
cartierf89 2025-08-20 03:55:26 -04:00
parent b5dfc7998d
commit ea28a3852c
4 changed files with 29 additions and 51 deletions

View File

@ -13,6 +13,16 @@
../../modules/system/device-management/logitech.nix
./hardware-configuration.nix
];
# Desktop Specific Hyprland Monitor Config
home-manager.users.${config.users.users.cartier.name or "cartier"} = {
wayland.windowManager.hyprland.settings.monitor = [
# Main monitor (HP OMEN, right side, horizontal, 1440p @ 240Hz)
"DP-2, 2560x1440@240, 1080x0, 1"
# Secondary monitor (Samsung, left side, vertical, 1080p @ 239.76Hz)
"DP-1, 1920x1080@239.76, 0x0, 1, transform, 1"
];
};
# Mount second hard drive
boot = {

66
hosts/desktop/hardware-configuration.nix Executable file → Normal file
View File

@ -1,63 +1,32 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/8f492948-4572-44d4-9da9-9394894320f4";
fsType = "ext4";
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8be29434-1adc-4c93-9f4b-a3aeba2f0cb9";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/EAA9-478C";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/565A-67E0";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/0237c531-0818-4753-a08c-08bb6307476a"; }
];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/6646d409-6417-4410-b3a0-fe6bafb2b9f3";
fsType = "ext4";
};
fileSystems."/tmp" = {
device = "/dev/disk/by-uuid/9fe1009a-f604-40ff-a13d-e78d9041397f";
fsType = "ext4";
};
fileSystems."/var/log" = {
device = "/dev/disk/by-uuid/9d39eb6d-09ab-4d66-8864-c19f9d59f620";
fsType = "ext4";
};
swapDevices = [
{ device = "/dev/disk/by-uuid/6fa52bf4-b1d9-468f-bc3a-f0c740e80c86"; }
];
# 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
@ -65,7 +34,6 @@
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp6s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View File

@ -22,7 +22,7 @@
"volume"
"network"
"notifications"
"battery"
];
};
};

View File

@ -26,7 +26,7 @@ in
(sddm-chili-theme.override {
themeConfig = {
background = "/etc/sddm-wallpaper.png";
ScreenWidth = "3440";
ScreenWidth = "2560";
ScreenHeight = "1440";
recursiveBlurLoops = 1;
recursiveBlurRadius = 10;