Files
nix_config/flake.nix
T

36 lines
1012 B
Nix
Raw Normal View History

{
description = "System config";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs_stable.url = "nixpkgs/nixos-22.11";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
tachikoma = {
url = "git+https://forge.room409.xyz/miloignis/tachikoma.git";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, nixpkgs_stable, home-manager, tachikoma, flake-utils }@attrs:
let
system = "x86_64-linux";
in {
nixosConfigurations.panam = nixpkgs.lib.nixosSystem {
2023-02-18 12:52:29 -05:00
inherit system;
2023-01-07 14:47:38 -05:00
specialArgs = attrs;
modules = [
2023-02-18 12:52:29 -05:00
home-manager.nixosModules.home-manager
tachikoma.nixosModules.default
2023-03-06 19:21:17 -05:00
./home_manager.nix
./panam.nix
2023-02-18 12:52:29 -05:00
];
};
};
}