started work on making all dotfiles managed by nix and automatic Catppuccin theming
This commit is contained in:
parent
9430d25251
commit
ff7048f53d
18 changed files with 723 additions and 361 deletions
25
dots/.warprc.nix
Normal file
25
dots/.warprc.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.horseman.dots.warprc;
|
||||
username = config.horseman.username;
|
||||
in {
|
||||
options = {
|
||||
horseman.dots.warprc = {
|
||||
enable = mkEnableOption "~/.warprc";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username}.home.file.".warprc".text = ''
|
||||
docs:~/Documents
|
||||
down:~/Downloads
|
||||
nix:~/nix-config
|
||||
obs:~/Documents/Uni
|
||||
prog:~/Programming
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue