about summary refs log tree commit diff
path: root/machines/sternenseemann/wolfgang.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-10-09 12:21:42 +0200
committersternenseemann <sternenseemann@systemli.org>2022-10-10 15:22:40 +0200
commitd2c18b5cbd80bc3bc9e9cf42fda9a1d7ee6cf52f (patch)
tree095412b8832721983a7aefd5a2c181a938647215 /machines/sternenseemann/wolfgang.nix
parent507eb19d3c5affcd9e43fff43216c4c899c9511a (diff)
machines/sternenseemann: move desktop-sway.nix into profiles module
Making it a proper module with options allows us to selectively switch
off stuff we don't need, e.g. saneterm. This should help keeping the
closure of ludwig smallish.

Additionally refactor font handling in the module: Instead of including
fonts.nix and assuming Bitstream Vera is available, we check
fonts.fontconfig.defaultFonts for the font to prefer.
Diffstat (limited to 'machines/sternenseemann/wolfgang.nix')
-rw-r--r--machines/sternenseemann/wolfgang.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/machines/sternenseemann/wolfgang.nix b/machines/sternenseemann/wolfgang.nix
index 159e2764..54d3f18c 100644
--- a/machines/sternenseemann/wolfgang.nix
+++ b/machines/sternenseemann/wolfgang.nix
@@ -9,7 +9,6 @@ let
 in {
   imports = [
     ./base-laptop.nix
-    ./desktop-sway.nix
     ./wireguard.nix
     ./user-lukas.nix
   ] ++ lib.optionals (builtins.pathExists ./local.nix) [
@@ -55,8 +54,7 @@ in {
 
   networking.hostName = "wolfgang";
 
-  # useful for debugging native compilation of packages on another platform
-  boot.binfmt.emulatedSystems = [ /* "aarch64-linux" */ ];
+  vuizvui.user.sternenseemann.profiles.desktop-sway.enable = true;
 
   environment.systemPackages = with pkgs; [
     vuizvui.sternenseemann.pass