26 lines
616 B
Nix
26 lines
616 B
Nix
|
{
|
||
|
description = "My system config";
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-22.05";
|
||
|
home-manager.url = "github:nix-community/home-manager/release-22.05";
|
||
|
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 = {
|
||
|
i15 = lib.nixosSystem {
|
||
|
inherit system;
|
||
|
modules = [ ./system/configuration.nix ];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|