Streamline modules and profiles

This commit is contained in:
Greg Hellings
2022-08-13 00:40:01 -05:00
parent cecc289c6b
commit 763e2fd201
7 changed files with 14 additions and 22 deletions
-1
View File
@@ -23,7 +23,6 @@
{ nixpkgs.overlays = [ nurpkgs.overlay local_overlay ]; }
agenix.nixosModule
./modules
./profiles/base
./hosts/${hostname}
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
+12
View File
@@ -0,0 +1,12 @@
{ ... }:
{
imports = [
./automatic/nix.nix
./automatic/programs.nix
./automatic/syncthing.nix
./automatic/users.nix
];
# I am a fan of network manager, myself
networking.networkmanager.enable = true;
}
@@ -20,4 +20,5 @@ keep-derivations = true
autoOptimiseStore = true;
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "22.05";
}
-21
View File
@@ -1,16 +1,6 @@
{ config, pkgs, agenix, ... }:
{
imports = [
./nix.nix
./programs.nix
./syncthing.nix
];
# I am a fan of network manager, myself
networking.networkmanager.enable = true;
# Enable the OpenSSH daemon for remote control
services.openssh.enable = true;
#services.openssh.permitRootLogin = "yes";
@@ -27,21 +17,10 @@
];
};
users.users.test = {
isNormalUser = true;
createHome = true;
extraGroups = [ ];
shell = pkgs.xonsh;
};
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "us";
};
# The set of default values, which allow syou to keep system defaults set
# to a predictable value as you upgrade the system
system.stateVersion = "21.11";
}
+1
View File
@@ -2,6 +2,7 @@
{
imports = [
./automatic.nix
./home.nix
./gnome.nix
./linode.nix