Change desktop to headless

This commit is contained in:
Oliver Davies 2024-12-23 00:28:59 +00:00
parent 8607e1dee4
commit b48cc7774a
5 changed files with 19 additions and 16 deletions

View file

@ -1,6 +1,6 @@
{
config,
desktop,
headless ? false,
hostname,
inputs,
outputs,
@ -44,7 +44,7 @@ let
shared-packages = import "${self}/nix/lib/shared/home-manager-packages.nix" {
inherit
desktop
headless
inputs
pkgs
username
@ -56,7 +56,7 @@ in
home.packages =
shared-packages
++ pkgs.lib.optionals desktop (
++ pkgs.lib.optionals (!headless) (
with pkgs;
[
build-glove80

View file

@ -1,9 +1,9 @@
{
headless ? false,
hostname,
inputs,
outputs,
pkgs,
desktop ? false,
self,
system,
username,
@ -27,7 +27,7 @@
hostname
inputs
outputs
desktop
headless
self
system
username
@ -178,7 +178,7 @@
yt-dlp
ytfzf
]
++ pkgs.lib.optionals desktop [
++ pkgs.lib.optionals (!headless) [
acpi
arandr
brightnessctl

View file

@ -1,9 +1,9 @@
{
headless ? false,
hostname,
inputs,
outputs,
pkgs,
desktop ? false,
self,
system,
username,
@ -21,7 +21,7 @@
hostname
inputs
outputs
desktop
headless
self
system
username
@ -170,7 +170,7 @@
yt-dlp
ytfzf
]
++ pkgs.lib.optionals desktop [
++ pkgs.lib.optionals (!headless) [
acpi
arandr
brightnessctl

View file

@ -1,6 +1,5 @@
{
desktop,
inputs,
headless,
pkgs,
username,
...
@ -70,7 +69,7 @@ with pkgs;
deliver
run
]
++ pkgs.lib.optionals desktop [
++ pkgs.lib.optionals (!headless) [
# Scripts.
_timer
export-video-list