-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from sbulav/dev
Dev
- Loading branch information
Showing
38 changed files
with
576 additions
and
355 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ in { | |
casks = [ | ||
"raycast" | ||
"vlc" | ||
"xnviewmp" | ||
]; | ||
|
||
# taps = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
lib, | ||
config, | ||
pkgs, | ||
... | ||
}: let | ||
inherit (lib) mkEnableOption mkIf; | ||
|
||
cfg = config.custom.cli-apps.argocd; | ||
in { | ||
options.custom.cli-apps.argocd = { | ||
enable = mkEnableOption "argocd"; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
home.packages = with pkgs; [ | ||
argocd | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
lib, | ||
config, | ||
pkgs, | ||
... | ||
}: let | ||
inherit (lib) mkEnableOption mkIf; | ||
|
||
cfg = config.custom.cli-apps.bottom; | ||
in { | ||
options.custom.cli-apps.bottom = { | ||
enable = mkEnableOption "bottom"; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
home = { | ||
packages = with pkgs; [bottom]; | ||
}; | ||
}; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,27 @@ | ||
{ | ||
options, | ||
inputs, | ||
config, | ||
lib, | ||
pkgs, | ||
... | ||
}: | ||
with lib; | ||
with lib.custom; let | ||
cfg = config.custom.desktop.addons.hyprpaper; | ||
wallpaper = /home/sab/Pictures/cityscape2.jpg; | ||
inherit (inputs) hyprpaper; | ||
wallpaper = config.custom.desktop.addons.wallpaper; | ||
in { | ||
imports = [hyprpaper.homeManagerModules.default]; | ||
options.custom.desktop.addons.hyprpaper = with types; { | ||
enable = mkBoolOpt false "Whether to enable the hyprpaper config"; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
xdg.configFile = { | ||
"hypr/hyprpaper.conf".text = '' | ||
preload = ${wallpaper} | ||
wallpaper = eDP-1,${wallpaper} | ||
wallpaper = DP-1,${wallpaper} | ||
wallpaper = DP-2,${wallpaper} | ||
''; | ||
}; | ||
systemd.user.services.hyprpaper = { | ||
Install.WantedBy = ["hyprland-session.target"]; | ||
|
||
Unit = { | ||
Description = "Hyprpaper Service"; | ||
PartOf = ["graphical-session.target"]; | ||
}; | ||
services.hyprpaper = { | ||
enable = true; | ||
|
||
Service = { | ||
ExecStart = "${getExe pkgs.hyprpaper}"; | ||
Restart = "always"; | ||
}; | ||
preloads = [wallpaper]; | ||
wallpapers = [", ${wallpaper}"]; | ||
ipc = false; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
inputs, | ||
pkgs, | ||
config, | ||
lib, | ||
... | ||
}: | ||
with lib; | ||
with lib.custom; let | ||
# cfg = config.system.wallpaper; | ||
in { | ||
options.custom.desktop.addons.wallpaper = mkOption { | ||
type = types.oneOf [types.package types.path types.str]; | ||
default = inputs.wallpapers-nix.packages.${pkgs.system}.catppuccin; | ||
description = "The wallpaper to use."; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.