mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
reorg + condiational secrets
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -111,10 +111,10 @@
|
||||
# NixOS configuration entrypoint
|
||||
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
Go3 = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs lib;hostName = "Go3"; };
|
||||
go3-wsl = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs lib;hostName = "go3-wsl"; };
|
||||
modules = [
|
||||
./hosts/Go3
|
||||
./hosts/go3-wsl
|
||||
];
|
||||
};
|
||||
StuPC-WSL = nixpkgs.lib.nixosSystem {
|
||||
@@ -130,10 +130,10 @@
|
||||
# Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
homeConfigurations = {
|
||||
# FIXME replace with your username@hostname
|
||||
"sstent@Go3" = home-manager.lib.homeManagerConfiguration {
|
||||
"sstent@go3-wsl" = home-manager.lib.homeManagerConfiguration {
|
||||
# pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
|
||||
pkgs = pkgs;
|
||||
extraSpecialArgs = { inherit inputs outputs lib; hostName = "Go3"; };
|
||||
extraSpecialArgs = { inherit inputs outputs lib; hostName = "go3-wsl"; };
|
||||
modules = [
|
||||
# > Our main home-manager configuration file <
|
||||
./home-manager/users/sstent
|
||||
|
||||
Reference in New Issue
Block a user