Added desktop monitor configs and removed battery from bar
This commit is contained in:
parent
b5dfc7998d
commit
ea28a3852c
@ -13,6 +13,16 @@
|
|||||||
../../modules/system/device-management/logitech.nix
|
../../modules/system/device-management/logitech.nix
|
||||||
./hardware-configuration.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
|
# Mount second hard drive
|
||||||
boot = {
|
boot = {
|
||||||
|
66
hosts/desktop/hardware-configuration.nix
Executable file → Normal file
66
hosts/desktop/hardware-configuration.nix
Executable file → Normal file
@ -1,63 +1,32 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
modulesPath,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports =
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
"nvme"
|
|
||||||
"xhci_pci"
|
|
||||||
"ahci"
|
|
||||||
"usb_storage"
|
|
||||||
"usbhid"
|
|
||||||
"sd_mod"
|
|
||||||
];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" =
|
||||||
device = "/dev/disk/by-uuid/8f492948-4572-44d4-9da9-9394894320f4";
|
{ device = "/dev/disk/by-uuid/8be29434-1adc-4c93-9f4b-a3aeba2f0cb9";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" =
|
||||||
device = "/dev/disk/by-uuid/EAA9-478C";
|
{ device = "/dev/disk/by-uuid/565A-67E0";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
"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
|
# 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
|
# (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`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp7s0.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";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"volume"
|
"volume"
|
||||||
"network"
|
"network"
|
||||||
"notifications"
|
"notifications"
|
||||||
"battery"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -26,7 +26,7 @@ in
|
|||||||
(sddm-chili-theme.override {
|
(sddm-chili-theme.override {
|
||||||
themeConfig = {
|
themeConfig = {
|
||||||
background = "/etc/sddm-wallpaper.png";
|
background = "/etc/sddm-wallpaper.png";
|
||||||
ScreenWidth = "3440";
|
ScreenWidth = "2560";
|
||||||
ScreenHeight = "1440";
|
ScreenHeight = "1440";
|
||||||
recursiveBlurLoops = 1;
|
recursiveBlurLoops = 1;
|
||||||
recursiveBlurRadius = 10;
|
recursiveBlurRadius = 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user