hosts: move local modules to their own directory inside specific host

This commit is contained in:
Anthony Rodriguez 2024-10-22 15:01:05 +02:00
parent c233c1a420
commit 1474053f43
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
6 changed files with 19 additions and 3 deletions

View file

@ -1,6 +1,5 @@
{
self,
pkgs,
specialArgs,
...
}: let
@ -8,6 +7,7 @@
in {
imports = [
./hardware-configuration.nix
./modules
"${mod}"
"${mod}/hardware/uni-sync.nix"
@ -27,8 +27,6 @@ in {
extraSpecialArgs = specialArgs;
};
theme.wallpaper = ../../wallpapers/lucy-edgerunners-wallpaper.jpg;
networking.hostName = "solaire";
environment.variables.FLAKE = "/home/nezia/.dotfiles";
}

View file

@ -0,0 +1,3 @@
{
imports = [./theme.nix];
}

View file

@ -0,0 +1,3 @@
{
theme.wallpaper = ../../wallpapers/lucy-edgerunners-wallpaper.jpg;
}

View file

@ -7,6 +7,7 @@
in {
imports = [
./hardware-configuration.nix
./modules
"${mod}"
"${mod}/core/lanzaboote.nix"

View file

@ -0,0 +1,3 @@
{
imports = [./theme.nix];
}

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
theme = {
wallpaper = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/e0cf0eb237dc5baba86661a3572b20a6183c1876/wallpapers/nix-wallpaper-nineish-catppuccin-frappe.png?raw=true";
hash = "sha256-/HAtpGwLxjNfJvX5/4YZfM8jPNStaM3gisK8+ImRmQ4=";
};
};
}