initial graphical config

This commit is contained in:
Astreaprtcl 2025-12-17 16:54:24 +01:00
parent ddd861496e
commit 61ecbd9721
6 changed files with 102 additions and 0 deletions

View file

@ -4,7 +4,9 @@
imports = [ imports = [
./default.nix ./default.nix
./git.nix ./git.nix
./greetd.nix
./home-manager.nix ./home-manager.nix
./lix.nix ./lix.nix
./polkit.nix
]; ];
} }

15
programs/greetd.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
services.greetd = {
enable = true;
settings = {
default_session.command = "${pkgs.tuigreet}/bin/tuigreet -t --asterisks -c 'sway'";
};
};
environment.etc."greetd/environments".text = ''
sway
fish
bash
'';
}

5
programs/polkit.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }:
{
security.polkit.enable = true;
}

View file

@ -4,5 +4,7 @@
imports = [ imports = [
./fish.nix ./fish.nix
./helix.nix ./helix.nix
./kitty.nix
./sway.nix
]; ];
} }

View file

@ -0,0 +1,66 @@
{ ... }:
{
programs.kitty = {
enable = true;
environment."TERM" = "xterm-256color";
font = {
name = "Maple Mono NF";
size = 11;
};
settings = {
confirm_os_window_close = 0;
enable_audio_bell = false;
foreground = "#e0def4";
background = "#232136";
background_opacity = 0.8;
background_blur = 0;
dim_opacity = 1;
selection_foreground = "#232136";
selection_background = "#a495d9";
cursor_shape = "beam";
cursor = "#a495d9";
cursor_text_color = "#e0def4";
url_color = "#c4a7e7";
url_style = "dotted";
active_tab_foreground = "#e0def4";
active_tab_background = "#393552";
inactive_tab_foreground = "#6e6a86";
inactive_tab_background = "#232136";
active_border_color = "#3e8fb0";
inactive_border_color = "#44415a";
color0 = "#333943";
color1 = "#dd759f";
color2 = "#539c9c";
color3 = "#dd759f";
color4 = "#70b6e5";
color5 = "#a495d9";
color6 = "#64c7dd";
color7 = "#d9e0e9";
color8 = "#3b5078";
color9 = "#dd3d7d";
color10 = "#009c9c";
color11 = "#dd3d7d";
color12 = "#0087e1";
color13 = "#856cd9";
color14 = "#00b4dd";
color15 = "#edf5ff";
window_margin_width = 3;
tab_bar_style = "separator";
tab_seperator = "|";
tab_bar_margin_width = 3;
tab_bar_margin_height = 3;
tab_switch_strategy = "right";
active_tab_font_style = "bold";
};
};
}

View file

@ -0,0 +1,12 @@
{ ... }:
{
wayland.windowManager.sway = {
enable = true;
wrapperFeatures.gtk = true;
config = rec {
modifier = "Mod4";
terminal = "kitty";
};
};
}