Compare commits
No commits in common. "aa819813ee793495c249ac92b6203c19539dbc7a" and "f21c7e15ba67f31ead19f32ff85502e89523dc86" have entirely different histories.
aa819813ee
...
f21c7e15ba
@ -26,7 +26,7 @@ in {
|
|||||||
xournalpp
|
xournalpp
|
||||||
prismlauncher
|
prismlauncher
|
||||||
steam
|
steam
|
||||||
unstable.blender
|
blender
|
||||||
unstable.betaflight-configurator
|
unstable.betaflight-configurator
|
||||||
loudgain
|
loudgain
|
||||||
yt-dlp
|
yt-dlp
|
||||||
|
@ -227,12 +227,6 @@ in {
|
|||||||
output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"];
|
output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
floating.criteria = [
|
|
||||||
{
|
|
||||||
title = "KeePassXC - Access Request";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = lib.mkIf cfg.laptop ''
|
extraConfig = lib.mkIf cfg.laptop ''
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
}: let
|
}: let
|
||||||
cfg = config.myConfig;
|
cfg = config.myConfig;
|
||||||
in {
|
in {
|
||||||
imports = [./bootloader.nix ./locale.nix ./greetd.nix ./rebuild.nix ./sops.nix ./sway.nix ./wifi.nix ./music.nix ./cups.nix ./gpu/amd.nix ./touch.nix];
|
imports = [./bootloader.nix ./locale.nix ./greetd.nix ./rebuild.nix ./sops.nix ./sway.nix ./wifi.nix ./music.nix ./cups.nix ./gpu/amd.nix];
|
||||||
|
|
||||||
options.myConfig = {
|
options.myConfig = {
|
||||||
enable = lib.mkEnableOption "my custom config";
|
enable = lib.mkEnableOption "my custom config";
|
||||||
@ -26,6 +26,5 @@ in {
|
|||||||
|
|
||||||
sway.laptop = lib.mkIf cfg.laptop true;
|
sway.laptop = lib.mkIf cfg.laptop true;
|
||||||
wifi.enable = lib.mkIf cfg.laptop true;
|
wifi.enable = lib.mkIf cfg.laptop true;
|
||||||
touch.enable = lib.mkIf cfg.laptop true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
cfg = config.myConfig.touch;
|
|
||||||
in {
|
|
||||||
options.myConfig.touch = {
|
|
||||||
enable = lib.mkEnableOption "touch screen";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
services = {
|
|
||||||
xserver.wacom.enable = true;
|
|
||||||
libinput.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user