refactor(flake-parts): initial flake-parts configuration

This commit is contained in:
ooks-io 2024-05-13 22:50:56 +12:00
parent 8f67be9e68
commit 5603001d65
230 changed files with 380 additions and 717 deletions

View file

@ -1,48 +0,0 @@
{ lib, config, ... }:
let
cfg = config.profiles.base;
inherit (lib) mkDefault;
in
{
imports = [
../../modules
../../secrets
];
config = lib.mkIf cfg.enable {
systemd.user.startServices = mkDefault "sd-switch";
homeModules = {
sops.enable = true;
config = {
# nix.enable = true;
# nixColors.enable = true;
home.enable = true;
userDirs.enable = true;
mimeApps.enable = true;
};
console = {
editor.helix = {
enable = true;
default = true;
};
prompt.starship.enable = true;
shell = {
fish.enable = true;
bash.enable = true;
};
multiplexer.zellij.enable = true;
utility = {
ssh.enable = true;
nixIndex.enable = true;
git.enable = true;
tools.enable = true;
transientServices.enable = true;
};
};
};
};
}