diff --git a/configuration.nix b/configuration.nix index 4855d95..2c87d17 100644 --- a/configuration.nix +++ b/configuration.nix @@ -281,6 +281,7 @@ $NEW_PROMPT_COMMAND" rebuild = '' nixos-rebuild switch --flake "$HOME/.local/os#" --use-remote-sudo ''; + ":r" = "!!"; }; programs.bash.sessionVariables = { NIX_SHELL_PRESERVE_PROMPT = 1; @@ -353,8 +354,7 @@ $NEW_PROMPT_COMMAND" }; - - systemd.services.setbacklight = let set-backlight-script = (pkgs.writeShellApplication { + systemd.services."99setbacklight" = let set-backlight-script = (pkgs.writeShellApplication { name = "set-backlight-script"; text = '' #!/bin/sh @@ -367,6 +367,8 @@ $NEW_PROMPT_COMMAND" }); in { enable = true; + after = ["systemd-backlight@.service"]; + #wants = ["systemd-backlight@.service"]; description = "bar"; unitConfig = { Type = "simple";