update: fixed issues and update flake inputs
This commit is contained in:
parent
4b6183f0ec
commit
b3c5ad2880
80 changed files with 3307 additions and 2059 deletions
71
home/user/shells/caelestia.nix
Normal file
71
home/user/shells/caelestia.nix
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkForce hasAttr;
|
||||
prefix = if osConfig.hardware.nvidia.prime.offload.enableOffloadCmd then "nvidia-offload " else "";
|
||||
terminal = "${prefix}ghostty";
|
||||
explorer = "nautilus";
|
||||
in
|
||||
{
|
||||
# ==== Disabled Services ==== #
|
||||
services.swww.enable = mkForce false;
|
||||
programs.waybar.enable = mkForce false;
|
||||
services.swaync.enable = mkForce false;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
nerd-fonts.jetbrains-mono
|
||||
];
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
# programs.niri.settings = with config.lib.niri.actions; {
|
||||
# binds = {
|
||||
# "Alt+Space".action = mkForce (spawn "caelestia" "shell" "drawers" "toggle" "launcher");
|
||||
# };
|
||||
# };
|
||||
|
||||
programs.caelestia = {
|
||||
enable = true;
|
||||
systemd.environment = [
|
||||
"QT_QPA_PLATFORMTHEME=gtk3"
|
||||
];
|
||||
settings = {
|
||||
paths.wallpaperDir = "~/Pictures/Wallpapers";
|
||||
general.apps = {
|
||||
terminal = [ terminal ];
|
||||
explorer = [ explorer ];
|
||||
};
|
||||
visualiser.enabled = true;
|
||||
osd.hideDelay = 1500;
|
||||
utilities.vpn = {
|
||||
enabled = hasAttr "wg-quick-wg0" osConfig.systemd.services;
|
||||
provider = [
|
||||
{
|
||||
name = "wireguard";
|
||||
interface = "wg0";
|
||||
displayName = "Wireguard (DN)";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
cli = {
|
||||
enable = true;
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = mkForce {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue