more changes

This commit is contained in:
Noah Masur
2025-02-03 17:30:32 -05:00
parent 6f2b2a7694
commit 8819bb9b9b
14 changed files with 63 additions and 186 deletions

View File

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}:
@ -31,6 +32,14 @@ in
];
};
# Basic common system packages for all devices
environment.systemPackages = [
pkgs.git
pkgs.vim
pkgs.wget
pkgs.curl
];
# Include home-manager config in NixOS
home-manager = {
sharedModules = [ ../../../../home-manager ];

View File

@ -6,12 +6,13 @@
}:
let
cfg = config.nmasur.profiles.on-premises;
cfg = config.nmasur.profiles.home;
in
{
options.nmasur.profiles.on-premises.enable = lib.mkEnableOption "on-premises machine settings";
options.nmasur.profiles.home.enable =
lib.mkEnableOption "home (on-premises, physical) machine settings";
config = lib.mkIf cfg.enable {