add new monitor

This commit is contained in:
dachxy 2024-12-25 22:36:42 +08:00
parent 6373014574
commit eb6cc5056f
5 changed files with 82 additions and 7 deletions

View file

@ -1,3 +1,4 @@
monitor=desc:ASUSTek COMPUTER INC ASUS VG32VQ1B 0x00002271,2560x1440@165, 0x0, 1
monitor=desc:ASUSTek COMPUTER INC ASUS VG32VQ1B 0x00002271, 2560x1440@165, 0x0, 1
monitor=desc:Acer Technologies XV272U V3 7422007E54222, 2560x1440@144, -1440x-540, auto, transform, 1
monitor=desc:LG Display 0x0665, auto, 0x0, 1

View file

@ -1,6 +1,6 @@
[
{
"output": "!DP-3",
"output": "HDMI-A-2",
"include": "~/.config/waybar/modules.json",
"layer": "top",
"exclusive": true,
@ -28,6 +28,41 @@
"custom/swaync",
"pulseaudio"
]
},
{
"output": "eDP-1",
"include": "~/.config/waybar/modules.json",
"layer": "top",
"exclusive": true,
"passthrough": false,
"position": "top",
"spacing": 3,
"fixed-center": true,
"ipc": true,
"margin-top": 0,
"margin-left": 0,
"margin-right": 0,
"margin-bottom": 0,
"modules-left": [
"hyprland/workspaces",
"clock",
"custom/cava",
"mpris"
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"wlr/taskbar",
"cpu",
"temperature",
"memory",
"custom/swaync",
"pulseaudio"
]
},
{
"output": "DP-3",

View file

@ -19,7 +19,6 @@
../../modules/plymouth.nix
../../modules/polkit.nix
../../modules/programs.nix
../../modules/sddm-theme.nix
../../modules/security.nix
../../modules/services.nix
../../modules/sound.nix
@ -31,14 +30,14 @@
];
# Overrides
networking.hostName = "dn-lap";
programs.steam.enable = false;
networking.hostName = lib.mkForce "dn-lap";
programs.steam.enable = lib.mkForce false;
system.stateVersion = "24.11";
home-manager = {
backupFileExtension = "backup";
extraSpecialArgs = { inherit inputs; };
users = { "danny" = import ../home; };
users = { "danny" = import ../../../home; };
};
}

View file

@ -0,0 +1,40 @@
# 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, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "uas" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e9be9e66-c3cb-4613-be7f-c23e7f89b508";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/B2AB-C9E4";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/57d3a2d7-37e1-4e4b-be64-efcb2e6d6391"; }
];
# 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.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -16,7 +16,7 @@
home-manager = {
backupFileExtension = "backup";
extraSpecialArgs = { inherit inputs; };
users = { "danny" = import ../home; };
users = { "danny" = import ../../../home; };
};
}