Compare commits

...

34 Commits

Author SHA1 Message Date
Nina Chloé Kassandra Reiß
a433f8fdde Add dialout for usb access 2026-03-10 11:31:47 +01:00
Nina Chloe Kassandra Reiß
39a2703698 Add usb group for access 2026-03-10 11:30:15 +01:00
Nina Chloe Kassandra Reiß
9c5f8eff46 enable nix-ld for generic linux 2026-03-07 07:09:38 +01:00
Nina Chloe Kassandra Reiß
3d45ff4c86 Add network manager to toolbar 2026-03-06 10:40:42 +01:00
Nina Chloe Kassandra Reiß
a82d1f592c Revert changes 2026-03-05 22:07:22 +01:00
Nina Chloe Kassandra Reiß
f5a23fc052 Allow generic linux binaries over gnat installation 2026-03-05 22:04:25 +01:00
Nina Chloé Kassandra Reiß
6ebbbe16a7 Pin gnat version and install all required components 2026-03-05 21:49:08 +01:00
Nina Chloé Kassandra Reiß
debeda83a6 . 2026-03-05 21:39:21 +01:00
Nina Chloé Kassandra Reiß
172714fd14 Have fluffychat as matrix client 2026-03-02 04:43:51 +01:00
Nina Chloé Kassandra Reiß
d65e7d9e57 Configure podman as service 2026-03-02 04:43:38 +01:00
Nina Chloé Kassandra Reiß
51796232ad Revert "Setup lightdm as desktop manager"
This reverts commit 0e09603af7.
2026-03-01 12:53:52 +01:00
Nina Chloé Kassandra Reiß
199d69b79a Revert "revert 7f3f6dd12f979acfd6c3da163ec980002b4afd61"
This reverts commit 6272ac29f2.
2026-03-01 12:53:31 +01:00
6272ac29f2 revert 7f3f6dd12f
revert Add gnome-keyring for keyring support
2026-03-01 12:52:30 +01:00
Nina Chloé Kassandra Reiß
0e09603af7 Setup lightdm as desktop manager 2026-03-01 12:43:11 +01:00
Nina Chloé Kassandra Reiß
7f3f6dd12f Add gnome-keyring for keyring support 2026-03-01 12:12:44 +01:00
Nina Chloé Kassandra Reiß
356fef695a Remove evolution, add element desktop 2026-03-01 11:08:03 +01:00
Nina Chloé Kassandra Reiß
c4796eb79c File information tools 2026-03-01 09:53:45 +01:00
Nina Chloé Kassandra Reiß
de12aa1313 Add archive utils 2026-03-01 09:33:13 +01:00
Nina Chloé Kassandra Reiß
76a3e5371c Move calibre from file management to media management 2026-02-28 12:51:58 +01:00
Nina Chloé Kassandra Reiß
9ea7ca67d0 Add media utils 2026-02-28 11:12:58 +01:00
Nina Chloé Kassandra Reiß
0db83a3517 Ban cookies from thunderbird 2026-02-28 10:53:21 +01:00
Nina Chloé Kassandra Reiß
31a5c24381 Install deja dup for backups 2026-02-27 23:33:56 +01:00
Nina Chloé Kassandra Reiß
69a6503c53 Adjust ssh configuration for nichkara 2026-02-27 22:31:31 +01:00
Nina Chloé Kassandra Reiß
799d942ce7 Add ssh-keygeneration 2026-02-27 21:45:37 +01:00
Nina Chloé Kassandra Reiß
408081c786 Add neovim configuration to seperate file 2026-02-27 21:44:14 +01:00
Nina Chloé Kassandra Reiß
b8ca6cf5c4 Generate ssh-key if none available 2026-02-27 21:25:08 +01:00
Nina Chloé Kassandra Reiß
1cd22ca95e Add password hash to manager 2026-02-27 20:21:43 +01:00
fbf66ac0e8 Update hyprland profile 2026-02-27 19:32:52 +01:00
437d486fec Adjust hyprland configuration 2026-02-27 17:17:50 +01:00
620ea7a061 Move window managers into other interfaces 2026-02-27 16:28:44 +01:00
6eb53c661a Implement profile 2026-02-27 16:05:00 +01:00
52344e28b1 Update module structure 2026-02-27 11:35:12 +01:00
018205d529 Add profile file to ignore => not synced 2026-02-27 11:30:02 +01:00
558dbb9007 Clear out old home structure 2026-02-27 11:29:18 +01:00
18 changed files with 335 additions and 191 deletions

2
.gitignore vendored
View File

@@ -3,3 +3,5 @@ result/
./result ./result
./result/* ./result/*
hardware-configuration.nix hardware-configuration.nix
result
profile.nix

View File

@@ -0,0 +1,9 @@
{ config, pkgs, lib, ... }:
let
profile = import ./profile.nix;
in
{
environment.systemPackages = with pkgs; [
fluffychat
];
}

View File

@@ -0,0 +1,9 @@
{ config, pkgs, lib, ... }:
let
profile = import ./profile.nix;
in
{
environment.systemPackages = with pkgs; [
openmodelica.combined
];
}

View File

@@ -3,7 +3,9 @@
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: { config, pkgs, ... }:
let
profile = import ./profile.nix;
in
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
@@ -16,7 +18,7 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "amelia"; # Define your hostname. networking.hostName = profile.hostname; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Enable networking # Enable networking
@@ -46,6 +48,20 @@
variant = ""; variant = "";
}; };
# Podman service setup
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
# Configure console keymap # Configure console keymap
console.keyMap = "de-latin1"; console.keyMap = "de-latin1";
@@ -54,11 +70,53 @@
networkmanager networkmanager
epiphany epiphany
nodejs_24 nodejs_24
podman dive
podman-tui podman-tui
podman-compose podman-compose
gmp
gmp.dev
pkg-config
]; ];
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
zlib
gmp
openssl
curl
glib
gtk3
libGL
xorg.libX11
appimage-run
];
};
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
# Shows battery charge of connected devices on supported
# Bluetooth adapters. Defaults to 'false'.
Experimental = true;
# When enabled other devices can connect faster to us, however
# the tradeoff is increased power consumption. Defaults to
# 'false'.
FastConnectable = true;
};
Policy = {
# Enable all controllers when they are found. This includes
# adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'true'.
AutoEnable = true;
};
};
};
services.blueman.enable = true;
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];

View File

@@ -1,17 +1,19 @@
{ pkgs, ... }: { pkgs, ... }:
let
profile = import ../profile.nix;
in
{ {
imports = [ imports = [
./browser.nix ./browser.nix
./planner.nix ./planner.nix
./window-manager.nix ./window-manager.nix
../applications/matrix-element.nix
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
kitty kitty
evolution
pamixer pamixer
nerd-fonts.open-dyslexic
nemo-with-extensions nemo-with-extensions
]; ];
@@ -24,7 +26,7 @@
settings = { settings = {
default_session = { default_session = {
command = "Hyprland"; command = "Hyprland";
user = "nichkara"; user = profile.username;
}; };
}; };
}; };

View File

@@ -23,8 +23,6 @@ in
DisableTelemetry = true; DisableTelemetry = true;
DisableAppUpdate = true; DisableAppUpdate = true;
EnableOpenPGP = true;
Preferences = { Preferences = {
"mail.provider.enabled" = false; "mail.provider.enabled" = false;
"mail.openpgp.allow_external_gnupg" = true; "mail.openpgp.allow_external_gnupg" = true;
@@ -34,6 +32,17 @@ in
Certificates = { Certificates = {
ImportEnterpriseRoots = true; ImportEnterpriseRoots = true;
}; };
PasswordManagerEnabled = true;
Cookies = {
"Default" = false;
"AcceptThirdParty" = "never";
"Locked" = true;
};
DefaultDownloadDirectory = "/tmp";
DisableBuiltinPDFViewer = true;
DisablePasswordReveal = true;
}; };
}; };
} }

View File

@@ -1,35 +1,9 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
dotfiles_hypr = pkgs.fetchgit { profile = import ../profile.nix;
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "96f9ca03450049baffbc8a2b71c3a40367edd2a5";
sha256 = "sha256-dHxf2UNEDC/KyDgjMMQ988hyGM2gasYNbNtLTityhDY=";
};
in in
{ {
environment.systemPackages = with pkgs; [ imports = [
wofi ./window-manager/${profile.interface}.nix
waybar
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
]; ];
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
home-manager.users.nichkara = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;
};
};
} }

View File

@@ -0,0 +1,62 @@
{ pkgs, lib, ... }:
let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "83da92f0d64620c6503b8b2d9fa27bd79816e025";
sha256 = "sha256-kEKJiH0oK0PuciJZ6ucinTKX5eMWxPPZXYNS1+HIcRA=";
};
dotfiles_waybar = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/waybar";
rev = "cd3d5d8a97f9fbc1cc8a69fc9e570dfcf669dce7";
sha256 = "sha256-FTpGumhxY6ChUXqnykO+aSJiFD4A80W0eqx7hXS9Iwc=";
};
profile = import ../../profile.nix;
in
{
environment.systemPackages = with pkgs; [
wofi
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
pamixer
pavucontrol
brightnessctl
python313Packages.requests
networkmanagerapplet
];
fonts.packages = with pkgs; [
nerd-fonts.space-mono
];
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
programs.waybar = {
enable = true;
};
home-manager.users.${profile.username} = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;
};
home.file.".config/waybar" = {
source = dotfiles_waybar;
recursive = true;
};
};
}

View File

@@ -1,6 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
profile = import ./profile.nix;
home-directory = "/home/${profile.username}";
ssh-filename = "${home-directory}/.ssh/id_ed25519";
in in
{ {
@@ -11,17 +13,18 @@ in
./system-environment/config.nix ./system-environment/config.nix
]; ];
users.users.nichkara = { users.users.${profile.username} = {
isNormalUser = true; isNormalUser = true;
description = "Nina Chloé Kassandra"; description = "Nina Chlóe Kassandra";
extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp"]; extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp" "uucp" "dialout"];
packages = with pkgs; []; packages = with pkgs; [];
shell = pkgs.zsh; shell = pkgs.zsh;
hashedPassword = profile.hashed-password;
}; };
home-manager.backupFileExtension = "bck.lck"; home-manager.backupFileExtension = "bck.lck";
home-manager.users.nichkara = { pkgs, ... }: { home-manager.users.${profile.username} = { pkgs, ... }: {
home.stateVersion = "25.11"; home.stateVersion = "25.11";
programs.git = { programs.git = {
enable = true; enable = true;
@@ -33,7 +36,48 @@ in
push = { push = {
autoSetupRemote = true; autoSetupRemote = true;
}; };
}; };
}; };
programs.ssh = {
enable = true;
extraConfig = ''
Host git.nickr.eu
HostName git.nickr.eu
Port 22
Host nickr.eu
HostName nickr.eu
Port 222
Host nichkara.eu
HostName nichkara.eu
Port 222
Host git.nichkara.eu
HostName git.nichkara.eu
Port 22
'';
};
}; };
systemd.services.generate-ssh-key = {
description = "Generate SSH key if missing";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
Type = "oneshot";
User = profile.username;
};
script = ''
if [ ! -f ${ssh-filename} ]; then
mkdir -p ${home-directory}/.ssh
chmod 700 ${home-directory}/.ssh
${pkgs.openssh}/bin/ssh-keygen -t ed25519 -N "" -f ${ssh-filename}
fi
'';
};
} }

View File

@@ -1,124 +0,0 @@
{ config, pkgs, lib, ... }:
{
wayland.windowManager.hyprland = {
settings = {
"$terminal" = "kitty";
"$fileManager" = "dolphin";
"$menu" = "rofi -show drun -show-icons";
"$editor" = "kate";
"$browser" = "vivaldi";
"$mainMod" = "SUPER";
bind = [
"$mainMod, Q, exec, kitty"
"$mainMod, E, exec, $fileManager"
"$mainMod, K, exec, $editor"
"$mainMod, B, exec, $browser"
"$mainMod, S, exec, $menu"
"$mainMod ALT, E, exec, dolphin /run/media/skadi/Volume/Dokumente"
# Util
"$mainMod, C, killactive,"
"$mainMod, M, exit,"
"$mainMod, V, togglefloating,"
"$mainMod, P, pseudo" #dwindle
"$mainMod, J, togglesplit" #dwindle
"$mainMod, L, exec, ~/.config/home-manager/hypr/wallpaper.sh"
"$mainMod, H, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
", PRINT, exec, hyprshot -m region"
"$mainMod, PRINT, exec, hyprshot -m window"
# Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u"
"$mainMod, down, movefocus, d"
# Switch workspaces with mainMod + [0-9]
"$mainMod, 1, workspace, 1"
"$mainMod, 2, workspace, 2"
"$mainMod, 3, workspace, 3"
"$mainMod, 4, workspace, 4"
"$mainMod, 5, workspace, 5"
"$mainMod, 6, workspace, 6"
"$mainMod, 7, workspace, 7"
"$mainMod, 8, workspace, 8"
"$mainMod, 9, workspace, 9"
"$mainMod, 0, workspace, 10"
# Move active window to a workspace with mainMod + SHIFT + [0-9]
"$mainMod SHIFT, 1, movetoworkspace, 1"
"$mainMod SHIFT, 2, movetoworkspace, 2"
"$mainMod SHIFT, 3, movetoworkspace, 3"
"$mainMod SHIFT, 4, movetoworkspace, 4"
"$mainMod SHIFT, 5, movetoworkspace, 5"
"$mainMod SHIFT, 6, movetoworkspace, 6"
"$mainMod SHIFT, 7, movetoworkspace, 7"
"$mainMod SHIFT, 8, movetoworkspace, 8"
"$mainMod SHIFT, 9, movetoworkspace, 9"
"$mainMod SHIFT, 0, movetoworkspace, 10"
# Scroll through existing workspaces with mainMod + scroll
"$mainMod, mouse_down, workspace, e+1"
"$mainMod, mouse_up, workspace, e-1"
];
#mouse keys
bindm = [
# Move/resize windows with mainMod + LMB/RMB and dragging
"$mainMod, mouse:272, movewindow"
"$mainMod, mouse:273, resizewindow"
];
#laptop keys
bindl = [
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
];
};
# Submaps
extraConfig = ''
# Resize
bind = ALT, R, submap, Resize
submap = Resize
binde = , right, resizeactive, 10 0
binde = , left, resizeactive, -10 0
binde = , up, resizeactive, 0 -10
binde = , down, resizeactive, 0 10
# escape the submap
bind = , escape, submap, reset
submap = reset
# Move
bind = ALT, T, submap, Move
submap = Move
bindm = , mouse:272, movewindow
bindm = , mouse:273, resizewindow
bind = , escape, submap, reset
submap = reset
# Close
bind = ALT, Z, submap, Close
submap = Close
bind = , C, killactive,
bind = , escape, submap, reset
submap = reset
'';
};
}

View File

@@ -1,5 +0,0 @@
{ config, pkgs, lib, ... }:
{
imports = [
];
}

12
profile.nix.template Normal file
View File

@@ -0,0 +1,12 @@
{
username = "nichkara";
hostname = "amelia";
hashed-password = "$y$j9T$W72kGNL9hSTiN7CjnUpqH1$uyE1OzYN4kvbhhylX7pwRmLYYYmouRPVGIDZKwx8YW8";
interface = "hyprland";
modules = {
base = true;
office = false;
development = false;
science = false;
};
}

View File

@@ -1,13 +1,20 @@
{ pkgs, ... }: { pkgs, lib, ... }:
let
profile = import ../profile.nix;
in
{ {
imports = [ imports = [
./file-system.nix ./file-system.nix
./media.nix
./security/keyring.nix
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Make systems
gnumake gnumake
python3
]
++ lib.optionals profile.modules.development [
cmake cmake
cmakeCurses cmakeCurses
@@ -20,7 +27,14 @@
# Ada/+Spark & Rust tools # Ada/+Spark & Rust tools
alire alire
gnat gnat15
gnat15Packages.gprbuild
gnat15Packages.gpr2
gnat15Packages.gnatprove
gnat15Packages.gnatcoll-core
gnat15Packages.gnatcoll-readline
gnat15Packages.gnatcoll-python3
gnat15Packages.gnatcoll-gmp
rustc rustc
cargo cargo
]; ];

View File

@@ -3,12 +3,17 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nextcloud-client nextcloud-client
calibre
unzip unzip
deja-dup
gnutar
xz
gzip
gz-utils
file
fileinfo
]; ];
environment.variables = { environment.variables = {
}; };
} }

View File

@@ -0,0 +1,17 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
calibre
kdePackages.okular
vlc
totem
w3m
epr
];
environment.variables = {
};
}

View File

@@ -0,0 +1,18 @@
{ pkgs, lib, ... }:
let
profile = import ../profile.nix;
in
{
imports = [ ];
environment.systemPackages = with pkgs; [
seahorse
];
environment.variables = {
};
services.gnome.gnome-keyring.enable = true;
security.pam.services.login.enableGnomeKeyring = true;
}

View File

@@ -1,23 +1,19 @@
{ pkgs, ... }: { config, pkgs, ... }:
let
profile = import ../profile.nix;
in
{ {
imports = [
./editor.nix
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim
neovim
astyle astyle
python313Packages.pynvim
hyfetch hyfetch
fzf
fzf-zsh fzf-zsh
ripgrep
ripgrep-all
]; ];
environment.variables = {
EDITOR = "nvim";
};
programs.tmux = { programs.tmux = {
enable = true; enable = true;
clock24 = true; clock24 = true;
@@ -26,6 +22,9 @@
''; '';
}; };
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
@@ -64,7 +63,7 @@
}; };
}; };
home-manager.users.nichkara = { ... }: { home-manager.users.${profile.username} = { ... }: {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
@@ -84,7 +83,25 @@
ignorePatterns = [ ]; ignorePatterns = [ ];
saveNoDups = true; saveNoDups = true;
ignoreAllDups = true; ignoreAllDups = true;
}; };
oh-my-zsh = {
enable = true;
theme = "sonicradish";
plugins = [
"git"
"z"
"dotenv"
"battery"
"emoji"
"emoji-clock"
"fzf"
"kitty"
"themes"
"tmux"
"vi-mode"
];
};
setOptions = [ setOptions = [
"HIST_IGNORE_ALL_DUPS" "HIST_IGNORE_ALL_DUPS"

View File

@@ -0,0 +1,21 @@
{ config, pkgs, ... }:
let
profile = import ../profile.nix;
in
{
environment.systemPackages = with pkgs; [
vim
fzf
ripgrep
ripgrep-all
];
programs.neovim = {
enable = true;
defaultEditor = true;
withPython3 = true;
withRuby = true;
withNodeJs = true;
};
}