From f723e3fddbf2d15094e13b5b987b047769f6200f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 29 May 2024 07:14:56 +0100 Subject: [PATCH] Don't install Niri on all machines by default, just Vanguard for now --- configuration/Vanguard.nix | 7 ++++++- configuration/desktop.nix | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configuration/Vanguard.nix b/configuration/Vanguard.nix index 99b2e25f..88a6e79d 100644 --- a/configuration/Vanguard.nix +++ b/configuration/Vanguard.nix @@ -1,5 +1,10 @@ -{config, ...}: { +{ + config, + niri, + ... +}: { imports = [./desktop.nix]; + environment.systemPackages = [niri]; boot = { initrd.kernelModules = ["amdgpu"]; extraModulePackages = with config.boot.kernelPackages; [v4l2loopback]; diff --git a/configuration/desktop.nix b/configuration/desktop.nix index ebc17f30..d80b39cf 100644 --- a/configuration/desktop.nix +++ b/configuration/desktop.nix @@ -1,7 +1,6 @@ { lib, pkgs, - niri, ... }: { imports = [./default.nix]; @@ -12,7 +11,6 @@ GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; }; systemPackages = with pkgs; [ - niri wtype wl-clipboard xdg-utils