Finer grained home-manager hosts
This commit is contained in:
+2
-1
@@ -23,8 +23,9 @@ let
|
|||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
gnome = false;
|
gnome = false;
|
||||||
gui = true;
|
gui = false;
|
||||||
home = "/Users/gregory.hellings";
|
home = "/Users/gregory.hellings";
|
||||||
|
host = name;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users.users."gregory.hellings".home = "/Users/gregory.hellings";
|
users.users."gregory.hellings".home = "/Users/gregory.hellings";
|
||||||
|
|||||||
@@ -31,5 +31,8 @@ in {
|
|||||||
}
|
}
|
||||||
"virt-manager"
|
"virt-manager"
|
||||||
];
|
];
|
||||||
|
casks = [
|
||||||
|
"synology-drive"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-10
@@ -1,5 +1,6 @@
|
|||||||
{ pkgs, lib, gui, gnome,
|
{ pkgs, lib, gui, gnome,
|
||||||
inputs,
|
inputs,
|
||||||
|
host ? "most",
|
||||||
...}:
|
...}:
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -14,6 +15,7 @@
|
|||||||
./templates.nix
|
./templates.nix
|
||||||
./vim.nix
|
./vim.nix
|
||||||
./xonsh.nix
|
./xonsh.nix
|
||||||
|
./hosts/${host}
|
||||||
] ++ ( if gui then [ ./gui ] else []);
|
] ++ ( 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.stateVersion = "23.05";
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
brew
|
brew
|
||||||
diffutils
|
diffutils
|
||||||
dmidecode
|
|
||||||
findutils
|
findutils
|
||||||
gimp
|
gimp
|
||||||
git
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
dmidecode
|
||||||
guestfs-tools
|
guestfs-tools
|
||||||
libguestfs
|
libguestfs
|
||||||
ovftool
|
ovftool
|
||||||
|
|||||||
Reference in New Issue
Block a user