Skip to content

Commit

Permalink
add sv-alpha machine
Browse files Browse the repository at this point in the history
  • Loading branch information
penglei committed Oct 20, 2024
1 parent 1fa540e commit a5772c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 11 additions & 1 deletion machines.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{ system, profiles, nixpkgs, pkgOverlays, ... }:

{
let
cloudconfig = {
inherit system nixpkgs;
overlays = pkgOverlays;
username = "penglei";
modules = [ ./nixos/cloud ];
hm-modules = profiles.hm.slim.modules;
};
in {
slim = profiles.nixos-creator {
inherit system;
nixpkgs = nixpkgs; # nixpkgsForNixOS
Expand Down Expand Up @@ -84,4 +92,6 @@
modules = [ ./nixos/cloud ];
hm-modules = profiles.hm.slim.modules;
};

sv-alpha = profiles.nixos-creator (cloudconfig // { hostname = "sv-alpha"; });
}
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ $ sudo nixos-rebuild switch --flake .#tart-vm
```
# chown -R 0:0 /nix
# touch /etc/NIXOS
# touch /etc/NIXOS_LUSTRATE
# echo etc/nixos | tee -a /etc/NIXOS_LUSTRATE
etc/nixos
# mv -v /boot /boot.bak
Expand Down

0 comments on commit a5772c7

Please sign in to comment.