dot_testing/flake.nix

67 lines
2.0 KiB
Nix
Raw Normal View History

2023-12-20 15:19:01 -06:00
{
description = "rndusr's nixos flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-21 17:22:54 -06:00
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
2023-12-21 15:26:09 -06:00
};
2023-12-28 15:27:31 -06:00
utilpkg = {
2023-12-28 00:20:13 -06:00
url = "./builds";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-20 15:19:01 -06:00
};
2023-12-28 15:27:31 -06:00
outputs = { self, nixpkgs, home-manager, firefox-addons, utilpkg, ... }@inputs: {
2023-12-20 15:45:45 -06:00
nixosConfigurations = {
virtbox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-12-21 17:22:54 -06:00
specialArgs = { inherit inputs; };
2023-12-20 15:45:45 -06:00
modules = [
2023-12-28 15:27:31 -06:00
./boxes/virtbox
2024-01-09 08:05:49 -06:00
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.usr = import ./boxes/virtbox/home.nix;
}
2023-12-20 15:45:45 -06:00
];
};
2024-01-07 22:16:14 -06:00
x230t = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./boxes/x230t
2024-01-09 08:05:49 -06:00
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.usr = import ./boxes/x230t/home.nix;
}
2024-01-07 22:16:14 -06:00
];
};
2023-12-28 15:59:44 -06:00
mainsail = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./boxes/mainsail
2024-01-09 08:05:49 -06:00
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.usr = import ./boxes/mainsail/home.nix;
}
2023-12-28 15:59:44 -06:00
];
};
2023-12-20 15:19:01 -06:00
};
};
}