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

View File

@@ -1,7 +1,6 @@
{ pkgs, config, ... }:
let
homedir = config.home.homeDirectory;
increments = "5";
brightness-change = pkgs.writeShellScriptBin "brightness-change" ''

View File

@@ -9,6 +9,6 @@
./night-shift.nix
./screenshot.nix
./startup.nix
./nerdfont_fzf.nix
./nerdfont_fzf
];
}

View File

@@ -29,7 +29,7 @@ in {
home.packages = with pkgs; [ nerdfont-fzf nerdfont-fzf-fetch nerdfont-popup ];
xdg.configFile."nerdfont_glyphnames.json" = {
source = ../misc/nerdfont_glyphnames.json;
source = ./nerdfont_glyphnames.json;
};
}

File diff suppressed because it is too large Load Diff

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 &
'';