Fix building of home and remove cursor
This commit is contained in:
+8
-8
@@ -13,10 +13,8 @@ let
|
|||||||
allowUnfreePredicate = _: true;
|
allowUnfreePredicate = _: true;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
ivr =
|
user =
|
||||||
let
|
system: host: username:
|
||||||
system = "aarch64-darwin";
|
|
||||||
in
|
|
||||||
top.hmunstable.lib.homeManagerConfiguration {
|
top.hmunstable.lib.homeManagerConfiguration {
|
||||||
pkgs = pkgs system;
|
pkgs = pkgs system;
|
||||||
modules = [
|
modules = [
|
||||||
@@ -24,15 +22,17 @@ let
|
|||||||
./home.nix
|
./home.nix
|
||||||
];
|
];
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit top;
|
inherit top host username;
|
||||||
nixvim = top.nixvimunstable;
|
nixvim = top.nixvimunstable;
|
||||||
gui = false;
|
gui = false;
|
||||||
gnome = false;
|
gnome = false;
|
||||||
host = "ivr";
|
|
||||||
username = "gregory.hellings";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
greg = host: (user "x86_64-linux" host "greg");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"MacBook-Pro.local" = ivr;
|
"MacBook-Pro.local" = user "aarch64-darwin" "ivr" "gregory.hellings";
|
||||||
|
exodus = greg "exodus";
|
||||||
|
jude = greg "jude";
|
||||||
|
isaiah = greg "isaiah";
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-24
@@ -3,9 +3,18 @@
|
|||||||
lib,
|
lib,
|
||||||
host ? "most",
|
host ? "most",
|
||||||
top,
|
top,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
homeDirectory =
|
||||||
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
|
"/Users/${username}"
|
||||||
|
else if username == "root" then
|
||||||
|
"/root"
|
||||||
|
else
|
||||||
|
"/home/${username}";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
top.nixvimunstable.homeManagerModules.nixvim
|
top.nixvimunstable.homeManagerModules.nixvim
|
||||||
@@ -13,30 +22,33 @@
|
|||||||
./baseline
|
./baseline
|
||||||
] ++ lib.optionals (builtins.pathExists ./hosts/${host}) [ ./hosts/${host} ];
|
] ++ lib.optionals (builtins.pathExists ./hosts/${host}) [ ./hosts/${host} ];
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
home = {
|
||||||
|
inherit homeDirectory username;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
copier
|
copier
|
||||||
diffutils
|
diffutils
|
||||||
findutils
|
findutils
|
||||||
gh
|
gh
|
||||||
git
|
git
|
||||||
gnupatch
|
gnupatch
|
||||||
hms
|
hms
|
||||||
btop
|
btop
|
||||||
inetutils
|
inetutils
|
||||||
jq
|
jq
|
||||||
nano
|
nano
|
||||||
nix-prefetch
|
nix-prefetch
|
||||||
nmap
|
nmap
|
||||||
openssl
|
openssl
|
||||||
setup-ssh
|
setup-ssh
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
unzip
|
unzip
|
||||||
wget
|
wget
|
||||||
zip
|
zip
|
||||||
];
|
];
|
||||||
|
stateVersion = "25.05";
|
||||||
|
};
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
top,
|
top,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -23,8 +22,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.defaultPackages = [ pkgs.code-cursor ];
|
|
||||||
|
|
||||||
greg = {
|
greg = {
|
||||||
home = true;
|
home = true;
|
||||||
gnome.enable = true;
|
gnome.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user