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,6 +1,7 @@
{ {
pkgs, pkgs,
inputs, inputs,
device,
... ...
}: { }: {
# import the home-manager module # import the home-manager module
@@ -8,7 +9,7 @@
programs = { programs = {
_1password-shell-plugins = { _1password-shell-plugins = {
# enable 1Password shell plugins for bash, zsh, and fish shell # enable 1Password shell plugins for bash, zsh, and fish shell
enable = true; enable = device.hasGui;
# the specified packages as well as 1Password CLI will be # the specified packages as well as 1Password CLI will be
# automatically installed and configured to use shell plugins # automatically installed and configured to use shell plugins
plugins = with pkgs; [awscli2 cachix cargo]; plugins = with pkgs; [awscli2 cachix cargo];

View File

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

View File

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