dot_testing/flake.nix

69 lines
1.8 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
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
];
};
2023-12-28 15:59:44 -06:00
mainsail = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./boxes/mainsail
];
};
2023-12-20 15:19:01 -06:00
};
2024-01-07 23:08:20 -06:00
homeConfigurations = {
"usr@x230t" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs; };
modules = [
./boxes/x230t/home.nix
];
};
"usr@mainsail" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs; };
modules = [
./boxes/x230t/home.nix
];
};
"usr@virtbox" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs; };
modules = [
./boxes/x230t/home.nix
];
};
};
2023-12-20 15:19:01 -06:00
};
}