Brought the deployer into nixops too
This commit is contained in:
parent
91769ccc79
commit
373d80a455
|
@ -15,6 +15,7 @@
|
|||
|
||||
airgead = import ../hosts/airgead.nix;
|
||||
cuallaidh = import ../hosts/cuallaidh.nix;
|
||||
dionach = import ../hosts/dionach.nix;
|
||||
iolear-beag = import ../hosts/iolear-beag.nix;
|
||||
paidh-ceithir = import ../hosts/paidh-ceithir.nix;
|
||||
paidh-coig = import ../hosts/paidh-coig.nix;
|
||||
|
|
|
@ -16,13 +16,17 @@
|
|||
../roles/nix-community.nix # Nix community aarch64 tooling
|
||||
../roles/nix-mio-ops.nix # mio-ops Nix tooling
|
||||
../roles/nixpkgs-dev.nix # Nix pkgs dev tools
|
||||
../roles/openssh.nix # Enable and configure openssh
|
||||
../roles/qemu.nix # Qemu virtualisation
|
||||
../roles/xmonad.nix # Xmonad desktop environment
|
||||
../roles/yubikey.nix # Yubikey tooling
|
||||
../secrets/craige.nix # Ssshhhhh!
|
||||
../secrets/root.nix # Swshhhhh!
|
||||
../secrets/wireless.nix # Hey look! A squirrel!
|
||||
];
|
||||
|
||||
deployment.targetHost = "localhost";
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
|
@ -30,11 +34,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
nix.nixPath = [
|
||||
"nixpkgs=https://nixos.org/channels/nixos-20.03/nixexprs.tar.xz"
|
||||
"nixos-config=/etc/nixos/configuration.nix"
|
||||
];
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
|
@ -209,7 +208,5 @@
|
|||
# servers. You should change this only after NixOS release notes say you
|
||||
# should.
|
||||
system.stateVersion = "18.03"; # Did you read the comment?
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.channel = https://nixos.org/channels/nixos-20.03;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue