Compare commits

...

3 Commits

3 changed files with 455 additions and 483 deletions

View File

@@ -36,6 +36,8 @@ lib.mkIf config.sane.home-manager.enable
".cache/gitstatus" ".cache/gitstatus"
]; ];
# zsh/prezto complains if zshrc doesn't exist; but it does allow an "empty" file.
sane.fs."/home/colin/.config/zsh/.zshrc" = sane-lib.fs.wantedText "# ";
programs.zsh = { programs.zsh = {
enable = true; enable = true;

File diff suppressed because it is too large Load Diff

View File

@@ -23,12 +23,6 @@ in
default = {}; default = {};
type = types.attrs; type = types.attrs;
}; };
# extra attributes to include in home-manager's `programs` option
sane.home-manager.programs = mkOption {
default = {};
type = types.attrs;
};
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@@ -49,13 +43,10 @@ in
home.username = "colin"; home.username = "colin";
home.homeDirectory = "/home/colin"; home.homeDirectory = "/home/colin";
programs = lib.mkMerge [ programs = {
{ # XXX: unsure what this does?
# XXX: unsure what this does? home-manager.enable = true;
home-manager.enable = true; };
}
cfg.programs
];
}; };
}; };
} }