mirror of
https://github.com/youwen5/nixos.git
synced 2025-02-17 17:21:12 -08:00
Compare commits
2 commits
f6b882f75d
...
5a56185f22
Author | SHA1 | Date | |
---|---|---|---|
5a56185f22 | |||
0b37ddf324 |
2 changed files with 27 additions and 24 deletions
|
@ -33,21 +33,21 @@
|
|||
# pkiBundle = "/etc/secureboot";
|
||||
# };
|
||||
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
capslock = "esc";
|
||||
leftalt = "leftcontrol";
|
||||
leftcontrol = "leftalt";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# services.keyd = {
|
||||
# enable = true;
|
||||
# keyboards = {
|
||||
# default = {
|
||||
# ids = [ "*" ];
|
||||
# settings = {
|
||||
# main = {
|
||||
# capslock = "esc";
|
||||
# leftalt = "leftcontrol";
|
||||
# leftcontrol = "leftalt";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device = "/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c";
|
||||
|
||||
|
@ -107,14 +107,15 @@
|
|||
powerManagement.finegrained = false;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
prime = {
|
||||
amdgpuBusId = "PCI:4:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
};
|
||||
# prime = {
|
||||
# amdgpuBusId = "PCI:4:0:0";
|
||||
# nvidiaBusId = "PCI:1:0:0";
|
||||
# # offload = {
|
||||
# # enable = true;
|
||||
# # enableOffloadCmd = true;
|
||||
# # };
|
||||
# sync.enable = true;
|
||||
# };
|
||||
};
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland.settings.monitor = pkgs.lib.mkForce [
|
||||
"eDP-1,2560x1440@165,0x0,1.6"
|
||||
# "eDP-1,2560x1440@165,0x0,1.6"
|
||||
"eDP-1, disable"
|
||||
"DP-3,2560x1440@165,0x0,1.0"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue