final test before bed
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
kernelModules = ["kvm-intel"];
|
||||
kernelModules = [];
|
||||
};
|
||||
kernelModules = ["kvm-intel"];
|
||||
kernelModules = [];
|
||||
extraModulePackages = [];
|
||||
};
|
||||
|
||||
|
||||
@@ -23,9 +23,7 @@
|
||||
vendors = ["nvidia"];
|
||||
nvidia = {
|
||||
package = "latest";
|
||||
open = {
|
||||
enable = true;
|
||||
};
|
||||
open = true;
|
||||
};
|
||||
};
|
||||
logitech = {
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
transform = 0;
|
||||
workspace = "1";
|
||||
}
|
||||
{
|
||||
name = "Unknown-1";
|
||||
enable = false;
|
||||
}
|
||||
];
|
||||
theme = {
|
||||
background = {
|
||||
|
||||
@@ -56,8 +56,11 @@ in {
|
||||
};
|
||||
|
||||
nvidia = {
|
||||
open.enable = mkEnableOption "Enable NVidia open drivers";
|
||||
|
||||
open = mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Use nvidia open driver";
|
||||
};
|
||||
package = mkOption {
|
||||
type = types.enum ["stable" "beta" "production" "latest"];
|
||||
default = "stable";
|
||||
@@ -135,7 +138,7 @@ in {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = cfg.nvidia.open.enable;
|
||||
open = cfg.nvidia.open;
|
||||
nvidiaSettings = true;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -35,7 +35,7 @@ in {
|
||||
then ",bitdepth,${toString m.bitDepth}"
|
||||
else "";
|
||||
in "${m.name},${
|
||||
if m.enabled
|
||||
if m.enable
|
||||
then "${resolution},${position},${scale}${transformStr}${bitdepthStr}"
|
||||
else "disable"
|
||||
}"
|
||||
@@ -44,7 +44,7 @@ in {
|
||||
|
||||
workspace = map (
|
||||
m: "${m.workspace},monitor:${m.name}"
|
||||
) (lib.filter (m: m.enabled && m.workspace != null) config.settings.monitors);
|
||||
) (lib.filter (m: m.enable && m.workspace != null) config.settings.monitors);
|
||||
|
||||
windowrule = [
|
||||
"size 843 650, initialTitle:^(floatcal)$"
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
commonExecOnce = [
|
||||
"pamixer --set-volume 50"
|
||||
"uwsm app -- blueman-applet"
|
||||
"uwsm app -- keepassxc"
|
||||
"uwsm app -- nm-applet --indicator"
|
||||
];
|
||||
@@ -33,13 +32,16 @@ in {
|
||||
[
|
||||
"uwsm app -- mullvad-vpn"
|
||||
"uwsm app -- solaar -w hide -b regular"
|
||||
"uwsm app -- blueman-applet"
|
||||
]
|
||||
++ commonExecOnce;
|
||||
})
|
||||
|
||||
(mkIf (host == "bunk") {
|
||||
programs.hyprland.settings.exec-once =
|
||||
[]
|
||||
[
|
||||
"uwsm app -- blueman-applet"
|
||||
]
|
||||
++ commonExecOnce;
|
||||
})
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ in {
|
||||
type = types.str;
|
||||
default = "1";
|
||||
};
|
||||
enabled = mkOption {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user