Updated to latest updates for nixpkgs and home-manager as of 6-29-23. Also cleaned up the directory structure and moved some redundant data to locations that make a lot more sense. E.g. we moved the hostname definitions into the hardware configurations as there is other networking configuration done there. I feel this is a much more logical place to stick it. Also got rid of update directory as we are now using flakes and not channels, so our updates are limited to what our flake.lock is set to.
43 lines
1.2 KiB
Nix
43 lines
1.2 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
|
|
./users/wesley.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.wesley = import ./home/wesley.nix;
|
|
}
|
|
];
|
|
};
|
|
"steiner" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hardware/steiner.nix
|
|
./configs/desktop.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;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|