confix/flake.nix

36 lines
838 B
Nix
Raw Normal View History

2023-07-31 00:21:32 -04:00
{
description = "Personal NixOS/Home-Manager Configuration";
nixConfig = {
experimental-features = [ "nix-command" "flakes" ];
};
inputs = {
2023-08-02 10:10:29 -04:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-07-31 00:21:32 -04:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ { self, nixpkgs, home-manager }:
let
system = "x86_64-linux";
user = {
name = "ii";
long = "iiogama";
email = "iiogama@0x212.org";
};
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in {
nixosConfigurations = (
import ./hosts {
inherit (nixpkgs) lib;
inherit inputs system home-manager user;
}
);
};
#
}