Compare commits

...

15 Commits

Author SHA1 Message Date
nils 8fee12bcb2 zellij theme entfernt 2026-01-10 17:52:39 +01:00
nils 97452af41d helix fix autocomplete 2026-01-10 09:27:10 +01:00
nils 11db4dfdab wp 2026-01-09 09:47:32 +01:00
nils 0f3aa402ee rofi angepasst 2026-01-09 09:15:15 +01:00
nils 693184e68e helix theme update 2026-01-08 19:51:48 +01:00
nils 11004b1daf decorations update 2026-01-08 17:58:52 +01:00
nils a0de120141 swaybg entfernt 2026-01-06 11:13:12 +01:00
nils 2b2732b5a2 alacritty vi mode + keybinds 2026-01-04 13:08:25 +01:00
nils fc1253eb9d mangar -> mgr 2026-01-03 23:30:15 +01:00
nils 5cdc51b10f mehr wallpaper 2026-01-03 19:37:26 +01:00
nils d0308a327e icons für deutsch und dev 2026-01-03 12:25:53 +01:00
nils 31b881972e readme update 2026-01-03 12:12:42 +01:00
nils 6758b8f6bc neues stand. wp 2026-01-03 11:53:28 +01:00
nils 105393e0d0 keine abbr 2026-01-03 11:53:17 +01:00
nils 84153bbf3e zellij kein autostart 2026-01-03 11:53:07 +01:00
21 changed files with 233 additions and 148 deletions
+8 -19
View File
@@ -58,10 +58,16 @@ Die Konfiguration ist in logische Module unterteilt, um die Wartung und Übertra
## Installation & Setup ## Installation & Setup
### 0. Temporäre Shell mit Git
```bash
nix-shell -p git
```
### 1. Repository klonen ### 1. Repository klonen
```bash ```bash
git clone https://github.com/DEIN_USERNAME/nixos-config.git ~/nixos git clone https://gitea.timvandenboom.eth64.de/nils/nixos ~/nixos
cd ~/nixos cd ~/nixos
``` ```
@@ -130,24 +136,7 @@ Wenn du Änderungen vornimmst, folge immer diesem Ablauf:
--- ---
### Was wurde ergänzt? ### Konfiguration anwenden
* **Pfad-Klarheit**: Es wird explizit auf `/home/nils/nixos` hingewiesen.
* **Git-Pflicht**: Der Hinweis auf `git init` und die Notwendigkeit von `git add` für Flakes ist jetzt prominenter.
* **Boot-Befehl**: Die Unterscheidung zwischen `switch` und `boot` wurde hinzugefügt, da du für das Hibernation-Setup zwingend den `boot`-Parameter benötigst, um die Kernel-Parameter (`resume_offset`) im Bootloader zu registrieren.
Soll ich noch einen Abschnitt hinzufügen, wie man überprüft, ob der Symlink korrekt gesetzt wurde?
### 3. Hardware-Konfiguration
Die `hardware-configuration.nix` ist spezifisch für jedes Gerät. Sie wird automatisch generiert und sollte im Hauptverzeichnis bleiben.
* Die Datei wird beim ersten Setup automatisch eingebunden.
* **Wichtig:** Falls du das System auf neuer Hardware aufsetzt, generiere sie mit `nixos-generate-config` neu.
### 4. Konfiguration anwenden
```bash ```bash
sudo nixos-rebuild switch --flake .#nixos sudo nixos-rebuild switch --flake .#nixos
+81 -7
View File
@@ -6,16 +6,90 @@
settings = { settings = {
general.import = [ "${config.home.homeDirectory}/.config/alacritty/colors.toml" ]; general.import = [ "${config.home.homeDirectory}/.config/alacritty/colors.toml" ];
env.TERM = "xterm-256color"; env = {
window = { TERM = "xterm-256color";
opacity = 0.9; WINIT_X11_SCALE_FACTOR = "1";
padding = { x = 10; y = 10; };
}; };
font.size = 12;
terminal.shell = { window = {
program = "${pkgs.zellij}/bin/zellij"; dynamic_padding = true;
decorations = "full";
title = "Alacritty@nixos";
opacity = 0.8;
decorations_theme_variant = "Dark";
dimensions = {
columns = 100;
lines = 30;
};
class = {
instance = "Alacritty";
general = "Alacritty";
};
};
scrolling = {
history = 10000;
multiplier = 3;
};
font = {
size = 12;
normal = { family = "monospace"; style = "Regular"; };
bold = { family = "monospace"; style = "Bold"; };
italic = { family = "monospace"; style = "Italic"; };
bold_italic = { family = "monospace"; style = "Bold Italic"; };
};
selection = {
semantic_escape_chars = ",`|:\"' ()[]{}<>\t";
save_to_clipboard = true;
};
cursor = {
style = {
shape = "Beam";
blinking = "Always";
};
vi_mode_style = {
shape = "Block";
};
unfocused_hollow = true;
thickness = 0.15;
};
mouse = {
hide_when_typing = true;
bindings = [
{ mouse = "Middle"; action = "PasteSelection"; }
];
};
keyboard.bindings = [
{ key = "Paste"; action = "Paste"; }
{ key = "Copy"; action = "Copy"; }
{ key = "L"; mods = "Control"; action = "ClearLogNotice"; }
{ key = "L"; mods = "Control"; mode = "~Vi"; chars = "\f"; }
{ key = "PageUp"; mods = "Shift"; mode = "~Alt"; action = "ScrollPageUp"; }
{ key = "PageDown"; mods = "Shift"; mode = "~Alt"; action = "ScrollPageDown"; }
{ key = "Home"; mods = "Shift"; mode = "~Alt"; action = "ScrollToTop"; }
{ key = "End"; mods = "Shift"; mode = "~Alt"; action = "ScrollToBottom"; }
{ key = "V"; mods = "Control|Shift"; action = "Paste"; }
{ key = "C"; mods = "Control|Shift"; action = "Copy"; }
{ key = "F"; mods = "Control|Shift"; action = "SearchForward"; }
{ key = "B"; mods = "Control|Shift"; action = "SearchBackward"; }
{ key = "C"; mods = "Control|Shift"; mode = "Vi"; action = "ClearSelection"; }
{ key = "Key0"; mods = "Control"; action = "ResetFontSize"; }
];
general = {
live_config_reload = true;
working_directory = "None";
# terminal.shell = {
# program = "${pkgs.zellij}/bin/zellij";
# };
}; };
}; };
}; };
} }
+4 -1
View File
@@ -22,9 +22,12 @@
}; };
themes = { themes = {
transparent = { transparent = {
inherits = "base16_transparent"; inherits = "tokyonight_moon";
"ui.background" = { }; "ui.background" = { };
"ui.statusline" = { fg = "fg"; };
"ui.statusline.inactive" = { fg = "comment"; };
"ui.linenr" = { fg = "#666666"; }; "ui.linenr" = { fg = "#666666"; };
"ui.linenr.selected" = { "ui.linenr.selected" = {
fg = "#ffffff"; fg = "#ffffff";
+16 -1
View File
@@ -51,10 +51,25 @@
}; };
decoration = { decoration = {
rounding = 10;
# active_opacity = 1.0;
# inactive_opacity = 0.8;
shadow = {
enabled = true;
range = 15;
render_power = 3;
color = "rgba(0,0,0,0.4)";
color_inactive = "rgba(0,0,0,0.2)";
};
# dim_inactive = true;
# dim_strength = 0.05;
blur = { blur = {
enabled = true; enabled = true;
size = 8; size = 10;
passes = 3; passes = 3;
noise = 0.12;
contrast = 1.1;
brightness = 0.8;
new_optimizations = true; new_optimizations = true;
ignore_opacity = true; ignore_opacity = true;
}; };
+36 -76
View File
@@ -7,107 +7,67 @@
extraConfig = { extraConfig = {
modes = "window,run,ssh,drun"; modes = "window,run,ssh,drun";
show-icons = true; show-icons = true;
drun-display-format = "{name}";
display-drun = "Apps:"; display-drun = "Apps:";
terminal = "alacritty"; terminal = "alacritty";
}; };
theme = "${config.home.homeDirectory}/.config/rofi/main-theme.rasi"; theme = "${config.home.homeDirectory}/.config/rofi/main-theme.rasi";
}; };
xdg.configFile."rofi/main-theme.rasi".text = ''
/* Importiert die von Matugen generierten Farben */ xdg.configFile."rofi/main-theme.rasi".text = ''
@import "${config.home.homeDirectory}/.config/rofi/matugen-colors.rasi" @import "${config.home.homeDirectory}/.config/rofi/matugen-colors.rasi"
configuration {
wayland-layer: "overlay";
//display-drun: "";
//display-run: "";
//display-window: "";
//display-ssh: "";
show-icons: true;
}
* { * {
background-color: @bg0; font: "JetBrainsMono Nerd Font 12";
border-color: @fg0; background-color: transparent;
text-color: @fg0; text-color: @fg0;
font: "JetBrainsMono Nerd Font 11"; margin: 0px;
padding: 0px;
spacing: 0px;
} }
window { window {
width: 100% ; location: center;
padding: 4px ; width: 680;
anchor: north; border-radius: 20px;
location: north; border: 2px;
y-offset: -30px; border-color: @blue; /* Hier wird jetzt die Matugen-Farbe genutzt */
children: [ "horibox" ];
background-color: @bg0; background-color: @bg0;
} }
horibox { mainbox { padding: 12px; }
orientation: horizontal;
children: [ "container-left", "container-right" ]; inputbar {
background-color: transparent; background-color: @bg1;
border-color: @bg3;
border-radius: 12px;
border: 2px;
padding: 8px 16px;
spacing: 8px;
children: [ prompt, entry ];
} }
container-left { prompt { text-color: @blue; }
orientation: horizontal; entry { placeholder: "Search..."; placeholder-color: @fg2; text-color: @fg0; }
expand: true;
children: [ "dummy", "inputbar" ];
background-color: transparent;
}
container-right {
orientation: horizontal;
expand: true;
children: [ "listview", "dummy" ];
background-color: transparent;
}
listview { listview {
layout: horizontal; margin: 12px 0 0;
horizontal-align: 0.5; lines: 8;
spacing: 15px ; columns: 1;
lines: 100; fixed-height: false;
background-color: transparent;
}
entry {
enabled: true;
width: 5em ;
expand: false;
background-color: transparent;
text-color: @fg0;
placeholder: "Suche...";
placeholder-color: @fg1;
}
prompt {
background-color: transparent;
text-color: @blue;
margin: 0 10px 0 0;
} }
element { element {
padding: 0px 5px; padding: 8px 16px;
border-radius: 4px; spacing: 12px;
background-color: transparent; border-radius: 10px;
text-color: @fg0;
} }
element selected { element selected normal {
background-color: @bg2; background-color: @bg2;
text-color: @fg0; text-color: @blue;
} }
element-text { element-icon { size: 1.5em; }
background-color: transparent; element-text { text-color: inherit; vertical-align: 0.5; }
text-color: inherit;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 1.0em;
}
''; '';
} }
+76 -36
View File
@@ -7,67 +7,107 @@
extraConfig = { extraConfig = {
modes = "window,run,ssh,drun"; modes = "window,run,ssh,drun";
show-icons = true; show-icons = true;
drun-display-format = "{name}";
display-drun = "Apps:"; display-drun = "Apps:";
terminal = "alacritty"; terminal = "alacritty";
}; };
theme = "${config.home.homeDirectory}/.config/rofi/main-theme.rasi"; theme = "${config.home.homeDirectory}/.config/rofi/main-theme.rasi";
}; };
xdg.configFile."rofi/main-theme.rasi".text = ''
xdg.configFile."rofi/main-theme.rasi".text = '' /* Importiert die von Matugen generierten Farben */
@import "${config.home.homeDirectory}/.config/rofi/matugen-colors.rasi" @import "${config.home.homeDirectory}/.config/rofi/matugen-colors.rasi"
configuration {
wayland-layer: "overlay";
//display-drun: "";
//display-run: "";
//display-window: "";
//display-ssh: "";
show-icons: true;
}
* { * {
font: "JetBrainsMono Nerd Font 12"; background-color: @bg0;
background-color: transparent; border-color: @fg0;
text-color: @fg0; text-color: @fg0;
margin: 0px; font: "JetBrainsMono Nerd Font 11";
padding: 0px;
spacing: 0px;
} }
window { window {
location: center; width: 100% ;
width: 680; padding: 4px ;
border-radius: 20px; anchor: north;
border: 2px; location: north;
border-color: @blue; /* Hier wird jetzt die Matugen-Farbe genutzt */ y-offset: -30px;
children: [ "horibox" ];
background-color: @bg0; background-color: @bg0;
} }
mainbox { padding: 12px; } horibox {
orientation: horizontal;
inputbar { children: [ "container-left", "container-right" ];
background-color: @bg1; background-color: transparent;
border-color: @bg3;
border-radius: 12px;
border: 2px;
padding: 8px 16px;
spacing: 8px;
children: [ prompt, entry ];
} }
prompt { text-color: @blue; } container-left {
entry { placeholder: "Search..."; placeholder-color: @fg2; text-color: @fg0; } orientation: horizontal;
expand: true;
children: [ "dummy", "inputbar" ];
background-color: transparent;
}
container-right {
orientation: horizontal;
expand: true;
children: [ "listview", "dummy" ];
background-color: transparent;
}
listview { listview {
margin: 12px 0 0; layout: horizontal;
lines: 8; horizontal-align: 0.5;
columns: 1; spacing: 15px ;
fixed-height: false; lines: 100;
background-color: transparent;
}
entry {
enabled: true;
width: 5em ;
expand: false;
background-color: transparent;
text-color: @fg0;
placeholder: "Suche...";
placeholder-color: @fg1;
}
prompt {
background-color: transparent;
text-color: @blue;
margin: 0 10px 0 0;
} }
element { element {
padding: 8px 16px; padding: 0px 5px;
spacing: 12px; border-radius: 4px;
border-radius: 10px; background-color: transparent;
text-color: @fg0;
} }
element selected normal { element selected {
background-color: @bg2; background-color: @bg2;
text-color: @blue; text-color: @fg0;
} }
element-icon { size: 1.5em; } element-text {
element-text { text-color: inherit; vertical-align: 0.5; } background-color: transparent;
text-color: inherit;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 1.0em;
}
''; '';
} }
+6 -6
View File
@@ -2,11 +2,10 @@
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAbbrs = { # shellAbbrs = {
# nix develop -c $SHELL # nd = "nix develop -c fish";
nd = "nix develop -c fish"; # lg = "lazygit";
lg = "lazygit"; # };
};
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting set fish_greeting
@@ -22,7 +21,7 @@
settings = { settings = {
default_shell = "fish"; default_shell = "fish";
theme = "matugen"; # theme = "matugen";
default_layout = "compact"; default_layout = "compact";
show_startup_tips = false; show_startup_tips = false;
@@ -59,6 +58,7 @@
programs.starship = { programs.starship = {
enable = true; enable = true;
enableFishIntegration = true;
}; };
programs.git = { programs.git = {
+1 -1
View File
@@ -6,7 +6,7 @@
enableFishIntegration = true; enableFishIntegration = true;
keymap = { keymap = {
manager.prepend_keymap = [ mgr.prepend_keymap = [
{ {
on = [ "g" "e" ]; on = [ "g" "e" ];
run = "arrow 100000000"; run = "arrow 100000000";
+1 -1
View File
@@ -21,7 +21,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git vim wget curl helix git vim wget curl helix
swaybg whitesur-cursors copyq whitesur-cursors copyq
kdePackages.kwallet-pam kdePackages.kwallet-pam
brightnessctl brightnessctl
libxkbcommon libxkbcommon
+4
View File
@@ -27,6 +27,10 @@ truncation_symbol = "…/"
"Downloads" = " " "Downloads" = " "
"Music" = " " "Music" = " "
"Pictures" = " " "Pictures" = " "
"Dokumente" = "󰈙 "
"Musik" = " "
"Bilder" = " "
"Dev" = " "
[time] [time]
disabled = false disabled = false
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB