69 lines
1.8 KiB
Nix
69 lines
1.8 KiB
Nix
{
|
|
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";
|
|
};
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
utilpkg = {
|
|
url = "./builds";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, firefox-addons, utilpkg, ... }@inputs: {
|
|
nixosConfigurations = {
|
|
virtbox = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./boxes/virtbox
|
|
];
|
|
};
|
|
x230t = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./boxes/x230t
|
|
];
|
|
};
|
|
mainsail = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./boxes/mainsail
|
|
];
|
|
};
|
|
};
|
|
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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|