1
0
Fork 0
forked from dea/dea-files
flake-dea/flake.nix

44 lines
970 B
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-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-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-08 13:00:13 -05:00
# pc
2026-01-07 14:32:28 -05:00
# nixosConfigurations.sandalphon = lib.nixosSystem {
# specialArgs = { inherit inputs; };
# modules = [
# ./hosts/sandalphon/hardware-configuration.nix
# ]
# ++ commonModules;
# };
};
}