mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-03 16:50:24 -04:00
29 lines
730 B
Nix
29 lines
730 B
Nix
{
|
|
description = "Fabric's flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.11";
|
|
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ...}:
|
|
let
|
|
lib = nixpkgs.lib;
|
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
|
in {
|
|
nixosConfigurations = {
|
|
Tatara = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [ ./configuration.nix ];
|
|
};
|
|
};
|
|
|
|
homeConfigurations = {
|
|
fabric = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [ ./home.nix ];
|
|
};
|
|
};
|
|
};
|
|
}
|