✨ Added pi4 to systems, moved getSecret function to lib
This commit is contained in:
14
flake.nix
14
flake.nix
@ -37,9 +37,7 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# Bar
|
||||
hyprpanel = {
|
||||
url = "github:Jas-SinghFSU/HyprPanel";
|
||||
};
|
||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||
# Spotify
|
||||
spicetify-nix = {
|
||||
url = "github:Gerg-L/spicetify-nix";
|
||||
@ -87,6 +85,12 @@
|
||||
hostName = "thinkpad";
|
||||
system = "x86_64-linux";
|
||||
}
|
||||
{
|
||||
hostName = "pi4";
|
||||
system = "aarch64-linux";
|
||||
enableWayland = false;
|
||||
}
|
||||
# TODO Homelab config
|
||||
];
|
||||
|
||||
in
|
||||
@ -110,7 +114,9 @@
|
||||
password = "temp";
|
||||
},
|
||||
version ? common.version,
|
||||
enableWayland ? true,
|
||||
}:
|
||||
|
||||
{
|
||||
name = hostName;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
@ -124,6 +130,7 @@
|
||||
lib
|
||||
hostName
|
||||
version
|
||||
enableWayland
|
||||
;
|
||||
isDarwin = false;
|
||||
};
|
||||
@ -144,6 +151,7 @@
|
||||
libHm
|
||||
hostName
|
||||
version
|
||||
enableWayland
|
||||
;
|
||||
};
|
||||
users.${user.name} = import ./hosts/${hostName}/home-manager;
|
||||
|
Reference in New Issue
Block a user