dea-files/flake.nix
2026-01-08 13:00:13 -05:00

41 lines
968 B
Nix

{
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";
};
outputs = inputs @ { self, nixpkgs, ... }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
commonModules = [
./configuration.nix
./user.nix
];
in {
# laptop
nixosConfigurations.nahemah = lib.nixosSystem {
specialArgs = {
host = "nahemah";
inherit inputs;
};
modules = [
./hosts/nahemah/hardware-configuration.nix
]
++ commonModules;
};
# pc
# nixosConfigurations.sandalphon = lib.nixosSystem {
# specialArgs = { inherit inputs; };
# modules = [
# ./hosts/sandalphon/hardware-configuration.nix
# ]
# ++ commonModules;
# };
};
}