From b7476f1622db8bd77f576a5d9be6be5ee54409ca Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 30 Apr 2023 23:06:47 -0400 Subject: [PATCH] Ungoof vmware --- machines/levitation/configuration.nix | 15 +++++++++++++-- machines/levitation/home.nix | 15 ++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/machines/levitation/configuration.nix b/machines/levitation/configuration.nix index e9a68dc..97ba5ff 100644 --- a/machines/levitation/configuration.nix +++ b/machines/levitation/configuration.nix @@ -1,6 +1,11 @@ { config, lib, pkgs, inputs, ... }: - -{ +let + system = pkgs.system; + unstable = import inputs.nixpkgs-unstable { + config = { allowUnfree = true; }; + inherit system; + }; +in { # Sops setup for this machine sops.secrets = { "borg-ssh-key" = { @@ -96,4 +101,10 @@ enableBookUploading = true; }; }; + + # vmware + virtualisation.vmware.host = { + enable = true; + package = unstable.vmware-workstation; + }; } diff --git a/machines/levitation/home.nix b/machines/levitation/home.nix index ac2ca25..efe2ee3 100644 --- a/machines/levitation/home.nix +++ b/machines/levitation/home.nix @@ -1,11 +1,4 @@ -{ config, lib, pkgs, inputs, ... }: -let - system = pkgs.system; - unstable = import inputs.nixpkgs-unstable { - config = { allowUnfree = true; }; - inherit system; - }; -in { +{ config, lib, pkgs, inputs, ... }: { nathan = { services = { email = { enable = true; }; }; config = { isDesktop = true; }; @@ -16,11 +9,7 @@ in { }; }; - home.packages = with pkgs; [ - gammastep - fido2luks - unstable.vmware-workstation - ]; + home.packages = with pkgs; [ gammastep fido2luks ]; # Sway outputs wayland.windowManager.sway.config = {