mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
33 lines
652 B
Nix
33 lines
652 B
Nix
{
|
|
description = "No, I don't understand how this works, so please don't ask";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager/master";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = { allowUnfree = true; };
|
|
};
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
in {
|
|
nixosConfigurations = {
|
|
snowfire = lib.nixosSystem {
|
|
inherit system;
|
|
|
|
modules = [
|
|
./system/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|