Finer grained home-manager hosts
This commit is contained in:
+2
-1
@@ -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";
|
||||
|
||||
@@ -31,5 +31,8 @@ in {
|
||||
}
|
||||
"virt-manager"
|
||||
];
|
||||
casks = [
|
||||
"synology-drive"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
+2
-10
@@ -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
|
||||
|
||||
@@ -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/"
|
||||
]);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# Put home configuration here that will affect most boxes
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
dmidecode
|
||||
guestfs-tools
|
||||
libguestfs
|
||||
ovftool
|
||||
|
||||
Reference in New Issue
Block a user