flocon/hosts/default.nix
Anthony Rodriguez b255b3988b
repo: remove home/profiles
commit f60d03acf6
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 16:02:55 2024 +0200

    flake: update dependencies

commit 8c3cd9631a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 15:49:07 2024 +0200

    repo: move common home packages into home/default.nix

commit aa46aa0762
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 15:34:23 2024 +0200

    repo: refactor to remove home/profiles

    Removed the profiles directory in home, as I thought it was redundant:
    they had the same name as my hostnames, as all my machines are
    single-user only. Therefore, everything is now under its own
    hosts/{hostname}, and flake.nix just has to import hosts/default.nix
    like it did before.
2024-10-21 16:37:58 +02:00

49 lines
1.1 KiB
Nix

{
self,
inputs,
...
}: {
flake.nixosConfigurations = let
inherit (inputs.nixpkgs.lib) nixosSystem;
specialArgs = {
inherit inputs self;
};
in {
vamos = nixosSystem {
inherit specialArgs;
modules = [
./vamos
self.nixosModules.style
({pkgs, ...}: {
style = let
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=";
};
in {
gtk.enable = true;
inherit wallpaper;
};
})
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
];
};
solaire = nixosSystem {
inherit specialArgs;
modules = [
./solaire
self.nixosModules.style
{
style = {
gtk.enable = false;
wallpaper = ../wallpapers/lucy-edgerunners-wallpaper.jpg;
};
}
];
};
};
}