Use defaultMonitor instead of monitor
This commit is contained in:
parent
3ac742cc45
commit
2c45bcf6ad
8 changed files with 128 additions and 93 deletions
|
|
@ -5,7 +5,11 @@
|
|||
conf = {
|
||||
# change this to your monitor and your pc name
|
||||
# should be something like DP-1
|
||||
monitor = "YOURMONITOR";
|
||||
defaultMonitor = "YOURMONITOR";
|
||||
# width x height @ refreshrate
|
||||
defaultMonitorMode = "1920x1080@60";
|
||||
# scale for your main monitor
|
||||
defaultMonitorScale = "1";
|
||||
# your username
|
||||
username = "YOURNAME";
|
||||
# TODO only needed when you use intel -> amd is default
|
||||
|
|
@ -17,51 +21,54 @@
|
|||
mods = {
|
||||
# default disk config has root home boot and swap partition, overwrite if you want something different
|
||||
drives = {
|
||||
defaultDrives.enable = false;
|
||||
extraDrives = [
|
||||
{
|
||||
name = "boot";
|
||||
drive = {
|
||||
device = "/dev/disk/by-label/BOOT";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"rw"
|
||||
"fmask=0022"
|
||||
"dmask=0022"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "";
|
||||
drive = {
|
||||
device = "/dev/disk/by-label/ROOT";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"noatime"
|
||||
"nodiratime"
|
||||
"discard"
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
# default assumes ROOT, BOOT, HOME and SWAP labaled drives exist
|
||||
# for an example without HOME see below
|
||||
#defaultDrives.enable = false;
|
||||
#extraDrives = [
|
||||
# {
|
||||
# name = "boot";
|
||||
# drive = {
|
||||
# device = "/dev/disk/by-label/BOOT";
|
||||
# fsType = "vfat";
|
||||
# options = [
|
||||
# "rw"
|
||||
# "fmask=0022"
|
||||
# "dmask=0022"
|
||||
# "noatime"
|
||||
# ];
|
||||
# };
|
||||
# }
|
||||
# {
|
||||
# name = "";
|
||||
# drive = {
|
||||
# device = "/dev/disk/by-label/ROOT";
|
||||
# fsType = "ext4";
|
||||
# options = [
|
||||
# "noatime"
|
||||
# "nodiratime"
|
||||
# "discard"
|
||||
# ];
|
||||
# };
|
||||
# }
|
||||
#];
|
||||
};
|
||||
sops.enable = false;
|
||||
nextcloud.enable = false;
|
||||
hyprland.monitor = [
|
||||
# default
|
||||
# TODO change this to your resolution
|
||||
"${config.conf.monitor},1920x1080@144,0x0,1"
|
||||
# all others
|
||||
",highrr,auto,1"
|
||||
];
|
||||
# default hyprland monitor config -> uncomment when necessary
|
||||
# TODO: Add more monitors when needed
|
||||
# hyprland.monitor = [
|
||||
# # default
|
||||
# "${config.conf.defaultMonitor},${config.conf.defaultMonitorMode},0x0,${config.conf.defaultMonitorScale}"
|
||||
# # all others
|
||||
# ",highrr,auto,1"
|
||||
# ];
|
||||
# or amd, whatever you have
|
||||
gpu.nvidia.enable = true;
|
||||
kde_connect.enable = true;
|
||||
# TODO change this to your main resolution
|
||||
# -> this will be your login manager
|
||||
greetd = {
|
||||
resolution = "3440x1440@180";
|
||||
};
|
||||
# login manager:
|
||||
# default is greetd
|
||||
# greetd = { };
|
||||
# sddm = { };
|
||||
# gdm = { };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue