From f3e9e39aa91e1670d5bb79a2d6bceaa2be5a170e Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 28 Aug 2021 14:51:01 +0200 Subject: [PATCH] hosts: Fix NIXOS_CONFIG --- hosts/generic.nix | 5 +++++ hosts/miku.nix | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hosts/generic.nix b/hosts/generic.nix index 168d9a1..b875aa6 100644 --- a/hosts/generic.nix +++ b/hosts/generic.nix @@ -51,6 +51,11 @@ in gnupg python3 ]; + + sessionVariables = { + # Prevent us from having to always type it out + NIXOS_CONFIG = "/home/${config.system.singleUser}/Development/Personal/nixos-config/hosts/${config.networking.hostName}.nix"; + }; }; # We don't tolerate non-free software, except for Steam and Linux firmware diff --git a/hosts/miku.nix b/hosts/miku.nix index e1cfd3f..71e37c7 100644 --- a/hosts/miku.nix +++ b/hosts/miku.nix @@ -93,12 +93,8 @@ steam discord-system-electron-wrapped # Custom package discord-wrapper # Custom package + mumble ]; - - sessionVariables = { - # Prevent us from having to always type it out - NIXOS_CONFIG = "/home/${config.system.singleUser}/Development/Personal/nixos-config/hosts/miku.nix"; - }; }; programs.mpv.primaryScreen = "C27F398";