Compare commits

...

4 Commits

Author SHA1 Message Date
fd19802e91 WIP: fixup sway bugs 2023-01-28 12:25:12 +00:00
d84846e293 refactor: sway: port away from home-manager 2023-01-28 11:13:54 +00:00
b46ccb9bc2 zsh: add an empty .zshrc to shutup prezto 2023-01-28 10:59:06 +00:00
1958c1f36b refactor: port waybar config out of home-manager 2023-01-28 09:58:18 +00:00
3 changed files with 458 additions and 484 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
];
}; };
}; };
} }