Former-commit-id: 81ab14b256
This commit is contained in:
Hadi
2024-05-02 15:40:12 +02:00
parent 8e4d046365
commit fa0aa29974
86 changed files with 227 additions and 146 deletions

View File

@@ -2,6 +2,7 @@
{ pkgs, config, ... }:
let
homedir = config.home.homeDirectory;
variable = import ../../variables.nix;
battery-notif = pkgs.writeShellScriptBin "battery-notif" ''
# Send notifications when low on battery and not in charge
@@ -44,9 +45,12 @@ let
startup = pkgs.writeShellScriptBin "startup" ''
# Because HM enabling services suck.
systemctl --user start sops-nix
[[ ${
toString variable.enableSops
} == "true" ]] && systemctl --user start sops-nix
[[ ${toString variable.enableNextcloud} == "true" ]] && nextcloud-watch &
nextcloud-watch &
battery-notif &
${pkgs.waybar}/bin/waybar &
'';