configured graphical environment

This commit is contained in:
bogale 2026-10-12 14:53:03 +09:00
commit 1fdf900886
6 changed files with 57 additions and 36 deletions

View file

@ -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

View file

@ -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"
'';
};
};
}

View file

@ -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";

View file

@ -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]

View file

@ -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"
'';
};
};
}