Compare commits
No commits in common. "5c0ff247158d36dbc14f3461169e16d3dff2f6d8" and "9d659d3d45bb88ea18927604e9a2b6f12977f46f" have entirely different histories.
5c0ff24715
...
9d659d3d45
@ -51,14 +51,6 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
power-menu = pkgs.writeShellScriptBin "power-menu" ''
|
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
case "$(printf "shutdown\\nreboot" | tofi --prompt "Choose your poison")" in
|
|
||||||
"shutdown") poweroff ;;
|
|
||||||
"reboot") reboot ;;
|
|
||||||
esac
|
|
||||||
'';
|
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
crony.hyprland.enable = lib.mkEnableOption "Enable hyprland and configure it for me";
|
crony.hyprland.enable = lib.mkEnableOption "Enable hyprland and configure it for me";
|
||||||
@ -372,7 +364,6 @@ in {
|
|||||||
|
|
||||||
"$mod, G, exec, ${hyprgamemode}/bin/gamemode"
|
"$mod, G, exec, ${hyprgamemode}/bin/gamemode"
|
||||||
"$mod, F1, exec, ${toggle-sound-output}/bin/toggle-sound-output"
|
"$mod, F1, exec, ${toggle-sound-output}/bin/toggle-sound-output"
|
||||||
"$mod SHIFT, E, exec, ${power-menu}/bin/power-menu"
|
|
||||||
|
|
||||||
"$mod, V, exec, cliphist list | tofi --horizontal false --height 380 | cliphist decode | wl-copy"
|
"$mod, V, exec, cliphist list | tofi --horizontal false --height 380 | cliphist decode | wl-copy"
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./sddm.nix
|
./sddm.nix
|
||||||
./watchdog.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
crony.bluetooth.enable = lib.mkDefault true;
|
crony.bluetooth.enable = lib.mkDefault true;
|
||||||
@ -35,5 +34,4 @@
|
|||||||
crony.wireguard.enable = lib.mkDefault true;
|
crony.wireguard.enable = lib.mkDefault true;
|
||||||
crony.hyprland-nixos.enable = lib.mkDefault true;
|
crony.hyprland-nixos.enable = lib.mkDefault true;
|
||||||
crony.sddm.enable = lib.mkDefault true;
|
crony.sddm.enable = lib.mkDefault true;
|
||||||
crony.watchdog.disable = lib.mkDefault true;
|
|
||||||
}
|
}
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
options = {
|
|
||||||
crony.watchdog.disable = lib.mkEnableOption "Disable watchdog for my laptop.";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf config.crony.watchdog.disable {
|
|
||||||
boot.kernelParams = ["nmi_watchdog=0"];
|
|
||||||
boot.blacklistedKernelModules = ["sp5100_tco"];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user