feat: Update

This commit is contained in:
uttarayan21
2024-09-04 13:50:31 +02:00
parent 39e40b1a4f
commit 34b34c8ce2
3 changed files with 16 additions and 11 deletions

View File

@@ -1,17 +1,20 @@
{
pkgs,
lib,
device,
...
}: {
imports = [
../common/firefox.nix
../linux/hyprland.nix
../linux/gtk.nix
../linux/anyrun.nix
../linux/ironbar
../linux/foot.nix
../linux/mpd.nix
];
imports =
[]
++ (lib.optionals device.hasGui [
../common/firefox.nix
../linux/hyprland.nix
../linux/gtk.nix
../linux/anyrun.nix
../linux/ironbar
../linux/foot.nix
../linux/mpd.nix
]);
services.kdeconnect.enable = device.hasGui;
services.kdeconnect.indicator = device.hasGui;

View File

@@ -10,7 +10,8 @@
programs.hyprpaper = let
wallpapers = import ../utils/wallhaven.nix {inherit pkgs;};
in {
enable = device.hasGui;
# enable = device.hasGui;
enable = false;
systemd.enable = true;
systemd.target = "hyprland-session.target";
settings.preload = wallpapers.all;