dea-files/flake.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

2026-01-07 14:32:28 -05:00
{
description = "release the dea files";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2026-01-09 16:09:39 -05:00
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
2026-01-07 14:32:28 -05:00
};
2026-01-08 13:39:02 -05:00
outputs =
inputs@{ self, nixpkgs, ... }:
2026-01-07 14:32:28 -05:00
let
system = "x86_64-linux";
lib = nixpkgs.lib;
commonModules = [
./configuration.nix
./user.nix
2026-01-09 16:09:39 -05:00
inputs.nix-flatpak.nixosModules.nix-flatpak
2026-01-07 14:32:28 -05:00
];
2026-01-08 13:39:02 -05:00
in
{
2026-01-07 14:32:28 -05:00
# laptop
nixosConfigurations.nahemah = lib.nixosSystem {
2026-01-08 13:39:02 -05:00
specialArgs = {
host = "nahemah";
inherit inputs;
2026-01-07 14:32:28 -05:00
};
modules = [
./hosts/nahemah/hardware-configuration.nix
]
++ commonModules;
};
2026-01-09 20:43:39 -05:00
# pc
2026-01-08 22:14:01 -05:00
nixosConfigurations.sandalphon = lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/sandalphon/hardware-configuration.nix
2026-01-09 13:26:43 -05:00
./hosts/sandalphon/configuration.nix
2026-01-09 20:43:39 -05:00
./hosts/sandalphon/games.nix
2026-01-08 22:14:01 -05:00
]
++ commonModules;
};
2026-01-07 14:32:28 -05:00
};
}