mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 22:00:14 +00:00
more changes
This commit is contained in:
@ -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 ];
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user