confix/flake.nix

34 lines
836 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";
};
nix-colors.url = "github:misterio77/nix-colors";
gtk-nix.url = "github:the-argus/gtk-nix";
2023-07-31 00:21:32 -04:00
};
outputs = { nixpkgs, home-manager, ... }@inputs:
2023-07-31 00:21:32 -04:00
let
system = "x86_64-linux";
user = {
name = "ii";
long = "iiogama";
email = "iiogama@0x212.org";
};
lib = nixpkgs.lib;
in {
nixosConfigurations = (
import ./hosts {
inherit (nixpkgs) lib;
inherit inputs system home-manager user;
}
);
};
#
}