include home-manager channel

This commit is contained in:
Trolli Schmittlauch 2023-04-13 21:30:17 +02:00
parent 339938b213
commit 823500e981

View file

@ -1,15 +1,26 @@
{
description = "NixOS system flake";
inputs = {
inputs =
{
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
outputs =
{ self, nixpkgs, ... }@inputs:
#let
# system = "x86_64-linux";
#in
{
nixosConfigurations.thinknix = nixpkgs.lib.nixosSystem {
#inherit system;
system = "x86_64-linux";
modules = [ ./nixos/configuration.nix ];
# necessary to make the top-level inputs available to system configuration