Add deployment expr for morph for the rest
This commit is contained in:
@@ -1,15 +1,27 @@
|
||||
with import <nixpkgs> {};
|
||||
let
|
||||
# Pin the deployment package-set to a specific version of nixpkgs
|
||||
# pkgs = import (builtins.fetchTarball {
|
||||
# url = "https://github.com/NixOS/nixpkgs/archive/e9148dc1c30e02aae80cc52f68ceb37b772066f3.tar.gz";
|
||||
# sha256 = "1ckzhh24mgz6jd1xhfgx0i9mijk6xjqxwsshnvq789xsavrmsc36";
|
||||
# }) {};
|
||||
pkgs = import <nixpkgs> {};
|
||||
|
||||
name = "fs1-0";
|
||||
address = "10.1.30.10";
|
||||
in {
|
||||
fs1-0 = {
|
||||
fs1-0 = { config, pkgs, ... }: with pkgs; {
|
||||
deployment.tags = [ "fs" ];
|
||||
deployment.targetHost = address;
|
||||
system.autoUpgrade.enable = lib.mkForce false;
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = false;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
version = 2;
|
||||
device = "/dev/sda1";
|
||||
};
|
||||
};
|
||||
|
||||
console = {
|
||||
|
||||
Reference in New Issue
Block a user