mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 01:57:54 +00:00
23 lines
620 B
Nix
23 lines
620 B
Nix
|
{
|
||
|
description = "Very simple sample of a Nix flake with NixOS and home-manager";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
home-manager.url = "github:nix-community/home-manager";
|
||
|
};
|
||
|
|
||
|
outputs = { nixpkgs, home-manager, ... }: let
|
||
|
system = "x85_64-linux";
|
||
|
in {
|
||
|
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
|
||
|
inherit system;
|
||
|
modules = [ ./hosts/desktop ];
|
||
|
};
|
||
|
|
||
|
homeConfigurations.foodogsquared = home-manager.lib.homeManagerConfiguration {
|
||
|
pkgs = import nixpkgs { inherit system; };
|
||
|
modules = [ ./users/foodogsquared ];
|
||
|
};
|
||
|
};
|
||
|
}
|