Finer grained home-manager hosts

This commit is contained in:
Greg Hellings
2023-08-21 10:20:24 -05:00
parent 9c22f7414c
commit ad20ca1856
6 changed files with 26 additions and 11 deletions
+2 -1
View File
@@ -23,8 +23,9 @@ let
extraSpecialArgs = {
inherit inputs;
gnome = false;
gui = true;
gui = false;
home = "/Users/gregory.hellings";
host = name;
};
};
users.users."gregory.hellings".home = "/Users/gregory.hellings";
+3
View File
@@ -31,5 +31,8 @@ in {
}
"virt-manager"
];
casks = [
"synology-drive"
];
};
}
+2 -10
View File
@@ -1,5 +1,6 @@
{ pkgs, lib, gui, gnome,
inputs,
host ? "most",
...}:
{
@@ -14,6 +15,7 @@
./templates.nix
./vim.nix
./xonsh.nix
./hosts/${host}
] ++ ( if gui then [ ./gui ] else []);
@@ -31,21 +33,11 @@
]);
};
home.file.".pip/pip.conf".text = (lib.strings.concatStringsSep "\n" [
"[global]"
"retries = 1"
"index-url = https://pypi.python.org/simple"
"extra-index-url ="
" https://pypi.ivrtechnology.com/simple/"
" https://pypidev.ivrtechnology.com/simple/"
]);
home.stateVersion = "23.05";
home.packages = with pkgs; [
bitwarden-cli
brew
diffutils
dmidecode
findutils
gimp
git
+12
View File
@@ -0,0 +1,12 @@
{ pkgs, lib, ...}:
{
home.file.".pip/pip.conf".text = (lib.strings.concatStringsSep "\n" [
"[global]"
"retries = 1"
"index-url = https://pypi.python.org/simple"
"extra-index-url ="
" https://pypi.ivrtechnology.com/simple/"
" https://pypidev.ivrtechnology.com/simple/"
]);
}
+6
View File
@@ -0,0 +1,6 @@
# Put home configuration here that will affect most boxes
{ pkgs, ... }:
{
}
+1
View File
@@ -2,6 +2,7 @@
{
environment.systemPackages = with pkgs; [
dmidecode
guestfs-tools
libguestfs
ovftool