Changes Stuff
@@ -29,7 +29,7 @@
|
||||
];
|
||||
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
flavor = "mocha";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,32 +1,53 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
theme = pkgs.magnetic-catppuccin-gtk;
|
||||
theme_name = "Catppuccin-GTK-Dark";
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [ catppuccin-papirus-folders adwaita-icon-theme];
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
adwaita-icon-theme
|
||||
];
|
||||
pointerCursor = {
|
||||
gtk.enable = true;
|
||||
name = "catppuccin-mocha-sapphire-cursors";
|
||||
package = pkgs.catppuccin-cursors.mochaSapphire;
|
||||
size = 24;
|
||||
};
|
||||
file = {
|
||||
".config/gtk-4.0/gtk.css".source = "${theme}/share/themes/${theme_name}/gtk-4.0/gtk.css";
|
||||
".config/gtk-4.0/gtk-dark.css".source = "${theme}/share/themes/${theme_name}/gtk-4.0/gtk-dark.css";
|
||||
".config/gtk-4.0/assets".source = "${theme}/share/themes/${theme_name}/gtk-4.0/assets";
|
||||
};
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
font = {
|
||||
name = "FiraCode Nerd Font Propo";
|
||||
size = 12;
|
||||
};
|
||||
|
||||
theme = {
|
||||
name = "catppuccin-mocha-standard-mauve-dark";
|
||||
package = pkgs.catppuccin-gtk;
|
||||
name = theme_name;
|
||||
package = theme;
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = lib.mkForce pkgs.catppuccin-papirus-folders; # deactivate and check
|
||||
package = lib.mkForce (
|
||||
pkgs.catppuccin-papirus-folders.override {
|
||||
accent = "sky";
|
||||
flavor = "mocha";
|
||||
}
|
||||
);
|
||||
};
|
||||
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
gtk-theme = theme_name;
|
||||
};
|
||||
|
||||
cursorTheme = {
|
||||
name = "catppuccin-mocha-dark";
|
||||
package = pkgs.catppuccin-cursors.mochaDark;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
gtk3.extraConfig.gtk-application-prefer-dark-theme = true;
|
||||
gtk4.extraConfig.gtk-application-prefer-dark-theme = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,6 +19,10 @@ in
|
||||
./portal.nix
|
||||
];
|
||||
|
||||
catppuccin.hyprland = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
catppuccin-cursors.mochaDark
|
||||
grim
|
||||
@@ -172,14 +176,14 @@ in
|
||||
name = "usb-optical-mouse-";
|
||||
sensitivity = 0;
|
||||
};
|
||||
|
||||
windowrulev2 = [
|
||||
"suppressevent maximize, class:.*"
|
||||
"float, class:^(com.obsproject.Studio)$"
|
||||
"size 1280 800, class:^(com.obsproject.Studio)$"
|
||||
"float, class:^(xdg-desktop-portal-gtk)$"
|
||||
"center, class:^(xdg-desktop-portal-gtk)$"
|
||||
];
|
||||
#deprecated
|
||||
# windowrulev2 = [
|
||||
# "suppressevent maximize, class:.*"
|
||||
# "float, class:^(com.obsproject.Studio)$"
|
||||
# "size 1280 800, class:^(com.obsproject.Studio)$"
|
||||
# "float, class:^(xdg-desktop-portal-gtk)$"
|
||||
# "center, class:^(xdg-desktop-portal-gtk)$"
|
||||
# ];
|
||||
|
||||
# windowrule = [
|
||||
# "opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||
@@ -227,7 +231,7 @@ in
|
||||
|
||||
# Window Modifiers
|
||||
"${super}, P, pseudo, " # dwindle
|
||||
"${super}, J, togglesplit, " # dwindle
|
||||
# "${super}, J, togglesplit, " # dwindle doenst exist
|
||||
"${super}, V, togglefloating, " # dwindle
|
||||
"${super}, C, killactive, "
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
catppuccin.hyprlock.enable = false;
|
||||
|
||||
# Hyprlock configuration
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
||||
@@ -150,11 +150,11 @@
|
||||
format = "{}";
|
||||
return-type = "json";
|
||||
exec = ''
|
||||
curl -s -X GET "https://api.openweathermap.org/data/2.5/weather?lat=52.281311&lon=10.527029&appid=$OPENWEATHER_API_KEY&units=metric&lang=en" | jq -c '{text: "\(.name) \(.main.temp)C°"}'
|
||||
curl -s -X GET "https://api.openweathermap.org/data/2.5/weather?lat=52.281311&lon=10.527029&appid=$(cat $OPENWEATHER_API_KEY)&units=metric&lang=en" | jq -c '{text: "\(.name) \(.main.temp)C°"}'
|
||||
'';
|
||||
interval = 120;
|
||||
on-click = ''
|
||||
data=$(curl -s -X GET "https://api.openweathermap.org/data/2.5/weather?lat=52.281311&lon=10.527029&appid=$OPENWEATHER_API_KEY&units=metric&lang=en")
|
||||
data=$(curl -s -X GET "https://api.openweathermap.org/data/2.5/weather?lat=52.281311&lon=10.527029&appid=$(cat $OPENWEATHER_API_KEY)&units=metric&lang=en")
|
||||
city=$(echo "$data" | jq -r '.name')
|
||||
temp=$(echo "$data" | jq -r '.main.temp')
|
||||
feels=$(echo "$data" | jq -r '.main.feels_like')
|
||||
|
||||
@@ -136,7 +136,7 @@ window#waybar.hidden {
|
||||
}
|
||||
|
||||
#custom-cava {
|
||||
color: @green;
|
||||
color: @sky;
|
||||
}
|
||||
|
||||
#wireplumber, #custom-cava, #mpris {
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
catppuccin.waybar.mode = "createLink";
|
||||
|
||||
catppuccin.waybar = {
|
||||
enable = true;
|
||||
mode = "createLink";
|
||||
};
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
};
|
||||
|
||||
lfs.enable = true;
|
||||
ignores = [ "**/.DS_STORE" ];
|
||||
ignores = [
|
||||
"**/.DS_STORE"
|
||||
"result"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
glow # MD Viewer
|
||||
|
||||
# LLM in the Terminal
|
||||
llm
|
||||
(pkgs.llm.withPlugins { llm-groq = true; })
|
||||
|
||||
# Fun stuff
|
||||
zoxide
|
||||
@@ -118,6 +118,12 @@
|
||||
fastfetch
|
||||
end
|
||||
'';
|
||||
|
||||
functions.l = {
|
||||
body = ''
|
||||
llm prompt -m groq/llama-3.3-70b-versatile -t std $argv | glow
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
useNetworkd = true;
|
||||
useDHCP = false;
|
||||
firewall.enable = true;
|
||||
hostName = "cyper-desktop";
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
|
||||
@@ -9,15 +9,34 @@
|
||||
./fonts.nix
|
||||
./sops.nix
|
||||
./regreet.nix
|
||||
./plymouth
|
||||
./plymouth.nix
|
||||
./audio.nix
|
||||
./ssh.nix
|
||||
./locale.nix
|
||||
./tailscale.nix
|
||||
./virt.nix
|
||||
./webcam.nix
|
||||
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
];
|
||||
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
accent = "sky";
|
||||
flavor = "mocha";
|
||||
cache.enable = true;
|
||||
|
||||
cursors = {
|
||||
enable = true;
|
||||
accent = "sapphire";
|
||||
};
|
||||
|
||||
fcitx5.enable = false;
|
||||
forgejo.enable = false;
|
||||
gitea.enable = false;
|
||||
sddm.enable = false;
|
||||
};
|
||||
|
||||
# nix config
|
||||
nix = {
|
||||
settings = {
|
||||
@@ -84,7 +103,12 @@
|
||||
security = {
|
||||
pam.services.swaylock = { };
|
||||
polkit.enable = true;
|
||||
apparmor.enable = true;
|
||||
apparmor.enable = false;
|
||||
};
|
||||
|
||||
services.gnome = {
|
||||
tinysparql.enable = true;
|
||||
localsearch.enable = true;
|
||||
};
|
||||
|
||||
users.users.${primaryUser} = {
|
||||
|
||||
20
nixos/plymouth.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ ... }:
|
||||
{
|
||||
boot = {
|
||||
plymouth = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Enable "Silent boot"
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"udev.log_priority=3"
|
||||
"rd.systemd.show_status=auto"
|
||||
];
|
||||
loader.timeout = 0;
|
||||
};
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
mikuTheme = pkgs.stdenv.mkDerivation {
|
||||
name = "plymouth-theme-miku";
|
||||
src = ./miku;
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/plymouth/themes/miku/frames
|
||||
cp miku.plymouth $out/share/plymouth/themes/miku/
|
||||
cp miku.script $out/share/plymouth/themes/miku/
|
||||
cp images/frames/*.png $out/share/plymouth/themes/miku/frames/
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
boot = {
|
||||
plymouth = {
|
||||
enable = true;
|
||||
theme = "miku";
|
||||
themePackages = [
|
||||
mikuTheme
|
||||
];
|
||||
};
|
||||
|
||||
# Enable "Silent boot"
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"udev.log_priority=3"
|
||||
"rd.systemd.show_status=auto"
|
||||
];
|
||||
loader.timeout = 0;
|
||||
};
|
||||
}
|
||||
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
@@ -1,8 +0,0 @@
|
||||
[Plymouth Theme]
|
||||
Name=Miku
|
||||
Description=Hatsune Miku Dancing
|
||||
ModuleName=Script
|
||||
|
||||
[script]
|
||||
ImageDir=/usr/share/plymouth/themes/miku
|
||||
ScriptFile=/usr/share/plymouth/themes/miku/miku.script
|
||||
@@ -1,30 +0,0 @@
|
||||
# Screen dimensions
|
||||
screen_width = Window.GetWidth();
|
||||
screen_height = Window.GetHeight();
|
||||
|
||||
# Load frames
|
||||
frame_count = 53;
|
||||
frames = [];
|
||||
for (i = 0; i < frame_count; i++) {
|
||||
num = String(i);
|
||||
if (i < 10) num = "000" + num;
|
||||
else if (i < 100) num = "00" + num;
|
||||
else num = "0" + num;
|
||||
frames[i] = Image("frames/frame_" + num + ".png");
|
||||
}
|
||||
|
||||
# Position centered
|
||||
x = (screen_width - 498) / 2;
|
||||
y = (screen_height - 498) / 2;
|
||||
|
||||
# Animation state
|
||||
current_frame = 0;
|
||||
|
||||
fun refresh_callback() {
|
||||
sprite = Sprite(frames[current_frame]);
|
||||
sprite.SetX(x);
|
||||
sprite.SetY(y);
|
||||
current_frame = (current_frame + 1) % frame_count;
|
||||
}
|
||||
|
||||
Plymouth.SetRefreshFunction(refresh_callback);
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
GTK = {
|
||||
application_prefer_dark_theme = true;
|
||||
cursor_theme_name = lib.mkForce "catppuccin-mocha-dark";
|
||||
cursor_theme_name = lib.mkForce "catppuccin-mocha-dark-cursors";
|
||||
font_name = lib.mkForce "FiraCode Nerd Font Propo 12";
|
||||
icon_theme_name = lib.mkForce "Papirus-Dark";
|
||||
theme_name = lib.mkForce "catppuccin-mocha-standard-mauve-dark";
|
||||
|
||||