This commit is contained in:
Your Name 2022-11-06 21:24:32 +01:00
parent 9d5d268a97
commit 4dad0c6410

View File

@ -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";