2021-05-30 20:41:33 +01:00
|
|
|
{
|
|
|
|
description = "NixOS configuration with flakes";
|
|
|
|
inputs = {
|
2021-05-30 23:13:31 +01:00
|
|
|
nixpkgs = {
|
2021-05-30 20:41:33 +01:00
|
|
|
type = "github";
|
2021-05-30 23:13:31 +01:00
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
ref = "nixos-unstable";
|
2021-05-30 20:41:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "home-manager";
|
|
|
|
ref = "master";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-05-30 23:13:31 +01:00
|
|
|
flake-utils = {
|
2021-05-30 20:41:33 +01:00
|
|
|
type = "github";
|
2021-05-30 23:13:31 +01:00
|
|
|
owner = "numtide";
|
|
|
|
repo = "flake-utils";
|
|
|
|
ref = "master";
|
2021-05-30 20:41:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nur = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "NUR";
|
|
|
|
ref = "master";
|
|
|
|
};
|
|
|
|
|
|
|
|
bisq = {
|
|
|
|
type = "github";
|
|
|
|
owner = "emmanuelrosa";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
ref = "3a681b0daaed9841cbd3ea2ebd51f9cca4c836f2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-05-30 23:13:31 +01:00
|
|
|
outputs = { self, flake-utils, home-manager, nixpkgs, nur, bisq } @ inputs: {
|
2021-05-30 20:41:33 +01:00
|
|
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
foureighty = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2021-05-30 23:13:31 +01:00
|
|
|
(import ./nixos/boxes/foureighty)
|
2021-05-30 20:41:33 +01:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2021-05-30 23:13:31 +01:00
|
|
|
home-manager.users.cyryl = import ./nixos/home-manager;
|
2021-05-30 20:41:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
];
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
};
|
2021-05-30 23:44:57 +01:00
|
|
|
skinnyv = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
(import ./nixos/boxes/skinnyv)
|
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.cyryl = import ./nixos/home-manager;
|
|
|
|
}
|
|
|
|
|
|
|
|
];
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
};
|
2021-05-30 20:41:33 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|