diff --git a/desktop/configuration.nix b/desktop/configuration.nix index 93326ae..f827d65 100644 --- a/desktop/configuration.nix +++ b/desktop/configuration.nix @@ -1,7 +1,6 @@ { config, lib, pkgs, ... }: { programs.niri.enable = true; - security.apparmor.enable = true; hardware.bluetooth.enable = true; imports = [ ../common.nix ./hardware.nix ]; boot.kernelParams = [ "hibernate.compressor=lz4" ]; @@ -27,7 +26,6 @@ }; services = { tuned.enable = true; - flatpak.enable = true; pipewire = { enable = true; pulse.enable = true; diff --git a/home/bogale.nix b/home/bogale.nix index c4f4db9..12717e6 100644 --- a/home/bogale.nix +++ b/home/bogale.nix @@ -3,15 +3,25 @@ imports = [ ./common.nix ]; wayland.windowManager.niri.enable = true; xdg.configFile."niri/config.kdl".source = ./mods/niri.kdl; + systemd.user.sessionVariables.QT_QPA_PLATFORMTHEME = "gtk3"; + gtk = { + enable = true; + colorScheme = "dark"; + }; programs = { - mpv.enable = true; - alacritty.enable = true; - bash.sessionVariables.TTS_MODEL = "ggml-org/Qwen3-TTS-12Hz-1.7B-Base-GGUF"; noctalia = { enable = true; systemd.enable = true; settings = ./mods/noctalia.toml; }; + bash = { + sessionVariables.TTS_MODEL = "ggml-org/Qwen3-TTS-12Hz-1.7B-Base-GGUF"; + initExtra = '' + session() { + sudo machinectl shell root@ + } + ''; + }; }; services.gammastep = { enable = true; @@ -29,9 +39,20 @@ home = { username = "bogale"; homeDirectory = "/home/bogale"; + pointerCursor = { + size = 24; + enable = true; + gtk.enable = true; + x11.enable = true; + name = "Bibata-Modern-Amber"; + package = pkgs.bibata-cursors; + }; packages = with pkgs; [ + mpv bluez heroic + alacritty + libreoffice qbittorrent thunderbird brave-origin diff --git a/home/common.nix b/home/common.nix index 446c2ac..f11dfe2 100644 --- a/home/common.nix +++ b/home/common.nix @@ -39,27 +39,5 @@ autocmd FileType nix set tabstop=2 shiftwidth=2 ''; }; - tmux = { - enable = true; - clock24 = true; - escapeTime = 0; - keyMode = "vi"; - terminal = "screen-256color"; - extraConfig = '' - unbind C-b - set -g mouse on - set -g prefix M-f - bind f send-prefix - bind h select-pane -L - bind j select-pane -D - bind k select-pane -U - bind l select-pane -R - bind i split-window -v - bind u split-window -h - set -s set-clipboard external - set-option -g focus-events on - set-option -a terminal-features "xterm-256color:RGB" - ''; - }; }; } diff --git a/home/mods/niri.kdl b/home/mods/niri.kdl index 99fee03..69c1470 100644 --- a/home/mods/niri.kdl +++ b/home/mods/niri.kdl @@ -1,7 +1,6 @@ include "./noctalia.kdl"; gestures { hot-corners { off; }; }; hotkey-overlay { skip-at-startup; }; -environment { QT_QPA_PLATFORMTHEME "qt6ct"; }; screenshot-path "~/Multimedia/Screenshots/%Y-%m-%d_%H-%M-%S.png"; window-rule { match app-id="mpv"; diff --git a/home/mods/noctalia.toml b/home/mods/noctalia.toml index bd085eb..cf0ab5e 100644 --- a/home/mods/noctalia.toml +++ b/home/mods/noctalia.toml @@ -3,6 +3,7 @@ order = [ "default" ] [bar.default] center = [ "workspaces" ] + enabled = true end = [ "tray", "keyboard_layout", "battery", "notifications" ] margin_ends = 0 start = [ "date", "clock", "sysmon" ] @@ -170,7 +171,7 @@ screen_time_enabled = true builtin = "Tokyo-Night" [theme.templates] - builtin_ids = [ "alacritty", "gtk3", "gtk4", "kcolorscheme", "niri", "qt" ] + builtin_ids = [ "alacritty", "gtk3", "gtk4", "niri" ] enable_community_templates = false [wallpaper] diff --git a/home/root.nix b/home/root.nix index 8b18d7e..6529440 100644 --- a/home/root.nix +++ b/home/root.nix @@ -5,12 +5,36 @@ username = "root"; homeDirectory = "/root"; }; - programs.bash = { - shellAliases.dd = "dd bs=1M conv=fsync status=progress"; - initExtra = '' - user-session() { - systemd-run -tGM $1@ --user --wait $SHELL - } - ''; + programs = { + bash = { + shellAliases.dd = "dd bs=1M conv=fsync status=progress"; + initExtra = '' + session() { + systemd-run -tGM bogale@ --user --wait $SHELL + } + ''; + }; + tmux = { + enable = true; + clock24 = true; + escapeTime = 0; + keyMode = "vi"; + terminal = "screen-256color"; + extraConfig = '' + unbind C-b + set -g mouse on + set -g prefix M-f + bind f send-prefix + bind h select-pane -L + bind j select-pane -D + bind k select-pane -U + bind l select-pane -R + bind i split-window -v + bind u split-window -h + set -s set-clipboard external + set-option -g focus-events on + set-option -a terminal-features "xterm-256color:RGB" + ''; + }; }; }