Updated flake; small fixes to account for update; added unity for laptop
This commit is contained in:
parent
fc8178ed80
commit
cc65757a1f
11 changed files with 111 additions and 78 deletions
|
|
@ -13,10 +13,10 @@ in {
|
|||
config = mkIf hardware.fingerprint {
|
||||
services = {
|
||||
fprintd.enable = true;
|
||||
logind.extraConfig = mkIf hypr ''
|
||||
logind.settings.Login = mkIf hypr {
|
||||
# don’t shutdown when power button is short-pressed
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
HandlePowerKey = "ignore";
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.jsw.wayland.windowManager.hyprland.settings = mkIf hypr {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
services = {
|
||||
logind = {
|
||||
logind.settings.Login = {
|
||||
powerKey = "suspend-then-hibernate";
|
||||
powerKeyLongPress = "poweroff";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
nix = let
|
||||
flakeInputs = lib.filterAttrs (_: v: lib.isType "flake" v) inputs;
|
||||
in {
|
||||
package = pkgs.lix;
|
||||
# package = pkgs.lix;
|
||||
|
||||
# pin the registry to avoid downloading and evaling a new nixpkgs version every time
|
||||
registry = lib.mapAttrs (_: v: {flake = v;}) flakeInputs;
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
settings = {
|
||||
auto-optimise-store = true;
|
||||
builders-use-substitutes = true;
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
flake-registry = "/etc/nix/registry.json";
|
||||
|
||||
# for direnv GC roots
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue