Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 1 | { |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 2 | # Snowfall Lib provides a customized `lib` instance with access to your flake's library |
| 3 | # as well as the libraries available from your flake's inputs. |
| 4 | lib, |
| 5 | # An instance of `pkgs` with your overlays and packages applied is also available. |
| 6 | pkgs, |
| 7 | # You also have access to your flake's inputs. |
| 8 | inputs, |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 9 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 10 | # Additional metadata is provided by Snowfall Lib. |
| 11 | home, # The home architecture for this host (eg. `x86_64-linux`). |
| 12 | target, # The Snowfall Lib target for this home (eg. `x86_64-home`). |
| 13 | format, # A normalized name for the home target (eg. `home`). |
| 14 | virtual, # A boolean to determine whether this home is a virtual target using nixos-generators. |
| 15 | host, # The host name for this home. |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 16 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 17 | # All other arguments come from the home home. |
| 18 | config, |
| 19 | ... |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 20 | }: |
| 21 | { |
Skyler Grey | 57f6b78 | 2024-03-13 14:43:09 +0000 | [diff] [blame] | 22 | home.packages = [ |
| 23 | pkgs.home-manager |
| 24 | pkgs.chimera.gtimelog-collabora |
| 25 | ]; |
Skyler Grey | a2c02ac | 2024-03-01 21:10:17 +0000 | [diff] [blame] | 26 | chimera.minion.enable = true; |
| 27 | |
| 28 | home.shellAliases.home-manager = "${pkgs.home-manager}/bin/home-manager --flake ${config.chimera.shell.rebuildFlakePath}#skyler@canvasback"; |
| 29 | |
Skyler Grey | 57f6b78 | 2024-03-13 14:43:09 +0000 | [diff] [blame] | 30 | sops.gnupg.home = config.programs.gpg.homedir; |
| 31 | sops.secrets."homes/x86_64-linux/skyler@canvasback/gtimelogrc.sops.minion.toml.bin" = { |
| 32 | format = "binary"; |
| 33 | sopsFile = ./gtimelogrc.sops.minion.toml.bin; |
| 34 | path = "${config.home.homeDirectory}/.gtimelog/gtimelogrc"; |
| 35 | }; |
| 36 | |
Skyler Grey | a2c02ac | 2024-03-01 21:10:17 +0000 | [diff] [blame] | 37 | programs.kitty.settings.shell = "${pkgs.bashInteractive}/bin/bash --login"; # nasty hack to make environment variables load on gnome |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 38 | } |