feat: Update
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
device,
|
device,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports =
|
||||||
|
[]
|
||||||
|
++ (lib.optionals device.hasGui [
|
||||||
../common/firefox.nix
|
../common/firefox.nix
|
||||||
../linux/hyprland.nix
|
../linux/hyprland.nix
|
||||||
../linux/gtk.nix
|
../linux/gtk.nix
|
||||||
@@ -11,7 +14,7 @@
|
|||||||
../linux/ironbar
|
../linux/ironbar
|
||||||
../linux/foot.nix
|
../linux/foot.nix
|
||||||
../linux/mpd.nix
|
../linux/mpd.nix
|
||||||
];
|
]);
|
||||||
|
|
||||||
services.kdeconnect.enable = device.hasGui;
|
services.kdeconnect.enable = device.hasGui;
|
||||||
services.kdeconnect.indicator = device.hasGui;
|
services.kdeconnect.indicator = device.hasGui;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user