feat(programs): add navi
This commit is contained in:
parent
52650a3c84
commit
af1f1fec2e
4 changed files with 29 additions and 1 deletions
20
modules/programs/navi/default.nix
Normal file
20
modules/programs/navi/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.my.programs.navi;
|
||||
in
|
||||
{
|
||||
options.my.programs.navi.enable = mkEnableOption "navi";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.moritz = {
|
||||
programs.navi.enable = true;
|
||||
xdg.dataFile."navi/cheats/personal" = {
|
||||
enable = true;
|
||||
recursive = true;
|
||||
source = ./cheats;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue