diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-12-20 13:33:35 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-12-20 13:33:35 +0100 |
| commit | c89edb0b37c6343d32c146547dfb54fcdb69b158 (patch) | |
| tree | f810c4f730d391fc6a40dfc807fb1b6a302dcf99 /modules/home-manager/personal | |
| parent | c62c1c07b9acaebc4d51d8464d35fd0c3b0dfc20 (diff) | |
| parent | 29f64105bca9f528d2b9812cb7d490a27c6a2633 (diff) | |
Merge branch 'master' into devenv
Diffstat (limited to 'modules/home-manager/personal')
| -rw-r--r-- | modules/home-manager/personal/environment.nix | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/modules/home-manager/personal/environment.nix b/modules/home-manager/personal/environment.nix index c97faff..867757e 100644 --- a/modules/home-manager/personal/environment.nix +++ b/modules/home-manager/personal/environment.nix @@ -1,11 +1,14 @@ -{ config, lib, pkgs, ... }: - { - home.packages = with pkgs; [ coreutils moreutils ]; + config, + lib, + pkgs, + ... +} @ inputs: { + home.packages = with pkgs; [coreutils moreutils]; personal.home.wallpaper = - lib.mkDefault pkgs.personal.static.wallpapers.nga-1973-68-1; + lib.mkDefault (inputs.osConfig.stylix.image or (pkgs.personal.static.wallpapers.nga-1973-68-1.override {gravity = "north";})); - programs.bash = { enable = lib.mkDefault true; }; + programs.bash = {enable = lib.mkDefault true;}; home = { shellAliases = { @@ -14,15 +17,16 @@ ssh = "TERM=xterm-256color ssh"; edit = "$EDITOR"; }; - sessionVariables = { CDPATH = "~"; }; + sessionVariables = {CDPATH = "~";}; }; services.gpg-agent = { enableBashIntegration = lib.mkDefault config.programs.bash.enable; - pinentryFlavor = lib.mkDefault (if config.personal.gui.enable then - "qt" - else - "tty"); + pinentryFlavor = lib.mkDefault ( + if config.personal.gui.enable + then "qt" + else "tty" + ); grabKeyboardAndMouse = lib.mkDefault false; # insecure, but necessary with keepass auto-type }; |
