aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/default.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-29 23:04:58 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-29 23:04:58 -0800
commit6cc309ef83350418f4d7f11672de83d1e8019e85 (patch)
treee5ef1ed57bfef181079637236143377b53fd4f8b /nix/modules/default.nix
parent46e8b0c5e914c0283a08b0f08aa3cc7c381f47b8 (diff)
finish config for workstationHEADmain
Diffstat (limited to 'nix/modules/default.nix')
-rw-r--r--nix/modules/default.nix38
1 files changed, 19 insertions, 19 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix
index 9cdd616..4284348 100644
--- a/nix/modules/default.nix
+++ b/nix/modules/default.nix
@@ -8,36 +8,36 @@
options = {
monorepo = {
- profiles = {
- cuda.enable = lib.mkEnableOption "Enables CUDA support";
- documentation.enable = lib.mkEnableOption "Enables documentation on system.";
- secureBoot.enable = lib.mkEnableOption "Enables secure boot. See sbctl.";
- pipewire.enable = lib.mkEnableOption "Enables pipewire low latency audio setup";
- tor.enable = lib.mkEnableOption "Enables tor along with torsocks";
- home.enable = lib.mkEnableOption "Enables home user";
- server.enable = lib.mkEnableOption "Enables server services";
- };
+ profiles = {
+ cuda.enable = lib.mkEnableOption "Enables CUDA support";
+ documentation.enable = lib.mkEnableOption "Enables documentation on system.";
+ secureBoot.enable = lib.mkEnableOption "Enables secure boot. See sbctl.";
+ pipewire.enable = lib.mkEnableOption "Enables pipewire low latency audio setup";
+ tor.enable = lib.mkEnableOption "Enables tor along with torsocks";
+ home.enable = lib.mkEnableOption "Enables home user";
+ server.enable = lib.mkEnableOption "Enables server services";
+ };
};
};
config = {
home-manager.users."${config.monorepo.vars.userName}" = {
- programs.home-manager.enable = config.monorepo.profiles.home.enable;
+ programs.home-manager.enable = config.monorepo.profiles.home.enable;
};
environment.systemPackages = lib.mkIf config.monorepo.profiles.documentation.enable (with pkgs; [
- linux-manual
- man-pages
- man-pages-posix
+ linux-manual
+ man-pages
+ man-pages-posix
]);
monorepo = {
- profiles = {
- documentation.enable = lib.mkDefault true;
- pipewire.enable = lib.mkDefault true;
- tor.enable = lib.mkDefault true;
- home.enable = lib.mkDefault true;
- };
+ profiles = {
+ documentation.enable = lib.mkDefault true;
+ pipewire.enable = lib.mkDefault true;
+ tor.enable = lib.mkDefault true;
+ home.enable = lib.mkDefault true;
+ };
};
};
}