Ported over the configuration for steiner into the flake. Have tested the deployment in a VM and am writing this commit from the flake itself. Everything came up and this should be good to pass issue #4 and move this to a Done status.
47 lines
1.4 KiB
Nix
47 lines
1.4 KiB
Nix
{
|
|
description = "Wesley's NixOS Configurations Flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations = {
|
|
"nixos-bootstrap" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hardware/nixos-bootstrap.nix
|
|
./configs/desktop.nix
|
|
./hosts/nixos-bootstrap.nix
|
|
./users/wesley.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.wesley = import ./home/wesley.nix;
|
|
}
|
|
./updates/no-restart.nix
|
|
];
|
|
};
|
|
"steiner" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hardware/steiner.nix
|
|
./configs/desktop.nix
|
|
./hosts/steiner.nix
|
|
./users/wesley.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages=true;
|
|
home-manager.users.wesley = import ./home/wesley-steiner.nix;
|
|
}
|
|
./updates/no-restart.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|