odchudzenie systemu

This commit is contained in:
2025-11-19 20:14:19 +01:00
parent c7b625459d
commit 8d06b7b0d0
20 changed files with 95 additions and 224 deletions

View File

@@ -1,4 +1,9 @@
{ pkgs, config, ... }:
{
pkgs,
config,
lib,
...
}:
{
boot = {
@@ -16,7 +21,7 @@
wallpapers = [
./../../wallpapers/attack-on-titan-mikasa-ackerman.jpg
];
wallpaperStyle = "centered";
wallpaperStyle = lib.mkDefault "centered";
backdrop = "${config.stylix.base16Scheme.base00}";
interface = {
branding = "GarandOS Bootloader";

View File

@@ -24,6 +24,7 @@
./thunar.nix
./user.nix
./virtualisation.nix
./xdg.nix
./xserver.nix
inputs.stylix.nixosModules.stylix
];

View File

@@ -1,19 +1,9 @@
{ pkgs, ... }:
{
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
configPackages = [ pkgs.hyprland ];
};
_: {
services = {
flatpak = {
enable = true;
packages = [
"org.vinegarhq.Sober"
# "org.vinegarhq.Sober"
"io.github.flattool.Warehouse"
"com.github.tchx84.Flatseal"
];

View File

@@ -5,10 +5,10 @@
slack
mattermost-desktop
# Productivity & Office
bitwarden-desktop
# bitwarden-desktop
tutanota-desktop
iotas
logseq
# logseq
# Utilities
galculator
gedit

View File

@@ -4,7 +4,7 @@
imports = [
./programs.nix
./clients.nix
./development.nix
# ./development.nix
./gaming.nix
./multimedia.nix
./terminal.nix

View File

@@ -1,10 +1,6 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# Language servers & formatters
nixd
nil
nixfmt-rfc-style
# Learning & practice
exercism
];

View File

@@ -1,12 +1,12 @@
{
pkgs,
inputs,
system,
# inputs,
# system,
...
}:
{
environment.systemPackages = with pkgs; [
inputs.prismlauncher-cracked.packages.${system}.default
# inputs.prismlauncher-cracked.packages.${system}.default
space-cadet-pinball
tty-solitaire
];

View File

@@ -1,7 +1,7 @@
{
pkgs,
inputs,
system,
# inputs,
# system,
...
}:
{
@@ -11,9 +11,9 @@
ffmpegthumbnailer
mpv
# gimp3
inputs.affinity-nix.packages.${system}.v3
# inputs.affinity-nix.packages.${system}.v3
eog
kdePackages.kdenlive
# kdePackages.kdenlive
# Audio
rhythmbox
plexamp
@@ -21,7 +21,7 @@
pavucontrol
playerctl
# Media downloaders & clients
freetube
ytmdl
# freetube
# ytmdl
];
}

View File

@@ -7,6 +7,5 @@
fortune
lolcat
eza
amfora
];
}

View File

@@ -2,11 +2,11 @@
{
environment.systemPackages = with pkgs; [
virt-viewer
lazydocker
# lazydocker
docker-client
distrobox
boxbuddy
freerdp
winboat
# distrobox
# boxbuddy
# freerdp
# winboat
];
}

12
modules/core/xdg.nix Normal file
View File

@@ -0,0 +1,12 @@
{ pkgs, ... }:
{
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
configPackages = [ pkgs.hyprland ];
};
}

View File

@@ -1,107 +0,0 @@
_: {
home.file = {
".config/amfora/config.toml".text = ''
[a-general]
home = "gemini://gem.zaney.org"
color = true
ansi = true
bullets = true
show_link = false
scrollbar = "never"
auto_redirect = false
http = 'brave'
search = "gemini://gus.guru/search"
max_width = 140
page_max_size = 2097152 # 2 MiB
page_max_time = 10
highlight_code = true
highlight_style = "dracula"
downloads = '~/Downloads/'
underline = true
[auth]
[auth.certs]
[auth.keys]
[commands]
[keybindings]
bind_bottom = ":"
bind_quit = "Q"
bind_reload = "R"
bind_back = "h"
bind_forward = "l"
bind_moveup = "k"
bind_movedown = "j"
bind_moveleft = "H"
bind_moveright = "L"
bind_next_tab = "J"
bind_prev_tab = "K"
bind_edit = "o"
bind_new_tab = "O"
bind_close_tab = "q"
bind_save = "S"
bind_home = "Ctrl-h"
bind_bookmarks = "b"
bind_add_bookmark = "B"
bind_copy_page_url = "c"
bind_copy_target_url = "C"
bind_search = "/"
bind_next_match = "n"
bind_prev_match = "N"
[url-handlers]
[url-prompts]
[cache]
max_size = 0 # Size in bytes
max_pages = 30 # The maximum number of pages the cache will store
timeout = 1800 # 30 mins
[proxies]
[subscriptions]
popup = true
update_interval = 1800 # 30 mins
workers = 3
entries_per_page = 20
header = true
[theme]
bg = "#282a36"
tab_num = "#bd93f9"
tab_divider = "#f8f8f2"
bottombar_label = "#bd93f9"
bottombar_text = "#8be9fd"
bottombar_bg = "#44475a"
scrollbar = "#44475a"
hdg_1 = "#bd93f9"
hdg_2 = "#7cafc2"
hdg_3 = "#a16946"
amfora_link = "#ff79c6"
foreign_link = "#ffb86c"
link_number = "#8be9fd"
regular_text = "#f8f8f2"
quote_text = "#f1fa8c"
preformatted_text = "#ffb86c"
list_text = "#f8f8f2"
btn_bg = "#44475a"
btn_text = "#f8f8f2"
dl_choice_modal_bg = "#6272a4"
dl_choice_modal_text = "#f8f8f2"
dl_modal_bg = "#6272a4"
dl_modal_text = "#f8f8f2"
info_modal_bg = "#6272a4"
info_modal_text = "#f8f8f2"
error_modal_bg = "#ff5555"
error_modal_text = "#f8f8f2"
yesno_modal_bg = "#6272a4"
yesno_modal_text = "#f8f8f2"
tofu_modal_bg = "#6272a4"
tofu_modal_text = "#f8f8f2"
subscription_modal_bg = "#6272a4"
subscription_modal_text = "#f8f8f2"
input_modal_bg = "#6272a4"
input_modal_text = "#f8f8f2"
input_modal_field_bg = "#44475a"
input_modal_field_text = "#f8f8f2"
bkmk_modal_bg = "#6272a4"
bkmk_modal_text = "#f8f8f2"
bkmk_modal_label = "#f8f8f2"
bkmk_modal_field_bg = "#44475a"
bkmk_modal_field_text = "#f8f8f2"
'';
};
}

View File

@@ -1,36 +0,0 @@
{ ... }:
{
programs.bottom = {
enable = true;
settings = {
enable_gpu = true;
theme = "nord";
flags.group_processes = true;
row = [
{
ratio = 2;
child = [
{ type = "cpu"; }
{ type = "temp"; }
];
}
{
ratio = 2;
child = [
{ type = "network"; }
];
}
{
ratio = 3;
child = [
{
type = "proc";
ratio = 1;
default = true;
}
];
}
];
};
};
}

View File

@@ -1,6 +1,6 @@
_: {
programs.cava = {
enable = true;
enable = false;
settings = {
general = {
bar_spacing = 1;

View File

@@ -10,20 +10,17 @@ in
./scripts
waybarChoice
./wlogout
./amfora.nix
./anki.nix
./bash.nix
./bash-aliases.nix
./bash-functions.nix
./bat.nix
./btop.nix
./bottom.nix
./cava.nix
./chromium.nix
./emoji.nix
./eza.nix
./fzf.nix
./gh.nix
./git.nix
./gtk.nix
./kdeConnect.nix

View File

@@ -1,6 +0,0 @@
{ ... }:
{
programs = {
gh.enable = true;
};
}

View File

@@ -10,19 +10,14 @@ in
# APLIKACJE - GŁÓWNE
# =============================================================================
"$modifier, A, exec, anki"
"$modifier, B, exec, bitwarden"
"$modifier, C, exec, chromium"
"$modifier, D, exec, vesktop"
"$modifier, G, exec, affinity-v3"
"$modifier, I, exec, iotas"
"$modifier, L, exec, logseq"
"$modifier, M, exec, plexamp"
"$modifier, N, exec, dex ${desktopEntriesPath}/garandcloud.desktop"
"$modifier, O, exec, obs"
"$modifier, Return, exec, ${terminal}"
"$modifier, S, exec, steam"
"$modifier, T, exec, thunar"
"$modifier, V, exec, codium"
"$modifier, W, exec, ${browser}"
"$modifier, Z, exec, zeditor"
@@ -40,13 +35,16 @@ in
"$modifier SHIFT, W, exec, web-search"
# =============================================================================
# APLIKACJE - Z ALT I CONTROL
# APLIKACJE - Z ALT
# =============================================================================
"$modifier ALT, B, exec, btop"
"$modifier ALT, G, exec, dex ${desktopEntriesPath}/glance.desktop"
"$modifier ALT, M, exec, dex ${desktopEntriesPath}/mastodon.desktop"
"$modifier ALT, S, exec, slack"
"$modifier ALT, T, exec, gnome-text-editor"
# =============================================================================
# APLIKACJE - Z CONTROL
# =============================================================================
"$modifier CONTROL, M, exec, mattermost-desktop"
# =============================================================================
@@ -140,9 +138,14 @@ in
",XF86MonBrightnessUp, exec, brightnessctl set +5%"
# =============================================================================
# NIEUŻYWANE KEYBINDY (ZAKOMENTOWANE)
# NIEUŻYWANE KEYBINDY
# =============================================================================
# "$modifier , R, exec, rofi-launcher"
# "$modifier, B, exec, bitwarden"
# "$modifier, G, exec, affinity-v3"
# "$modifier, L, exec, logseq"
# "$modifier, O, exec, obs"
# "$modifier, V, exec, codium"
# "$modifier SHIFT, N, exec, swaync-client -rs"
# "$modifier, P, pseudo,"
# "$modifier SHIFT,F, togglefloating,"

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }:
{
programs.obs-studio = {
enable = true;
enable = false;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-pipewire-audio-capture

View File

@@ -29,6 +29,8 @@
extraPackages = with pkgs; [
biome
rust-analyzer
nixd
nil
];
userSettings = {