54 lines
1.3 KiB
Nix
54 lines
1.3 KiB
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";
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
|
nvf.url = "github:notashelf/nvf";
|
|
|
|
plasma-manager = {
|
|
url = "github:nix-community/plasma-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
lib = nixpkgs.lib;
|
|
|
|
commonModules = [
|
|
./configuration.nix
|
|
./user.nix
|
|
inputs.nix-flatpak.nixosModules.nix-flatpak
|
|
];
|
|
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
|
|
./hosts/sandalphon/configuration.nix
|
|
./hosts/sandalphon/games.nix
|
|
]
|
|
++ commonModules;
|
|
};
|
|
};
|
|
}
|