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,
inputs,
device,
...
}: {
# import the home-manager module
@@ -8,7 +9,7 @@
programs = {
_1password-shell-plugins = {
# 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
# automatically installed and configured to use shell plugins
plugins = with pkgs; [awscli2 cachix cargo];

View File

@@ -1,9 +1,12 @@
{
pkgs,
lib,
device,
...
}: {
imports = [
imports =
[]
++ (lib.optionals device.hasGui [
../common/firefox.nix
../linux/hyprland.nix
../linux/gtk.nix
@@ -11,7 +14,7 @@
../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;