From a8fdabe1d8bb6fe94c29a75f5842a0529bcd8063 Mon Sep 17 00:00:00 2001 From: Jonas Hahn Date: Thu, 30 Oct 2025 09:13:57 +0100 Subject: [PATCH] Better filemanager --- hosts/minoxy-workstation/configuration.nix | 19 ++++++++++++++++ modules/essential.nix | 2 +- modules/graphics/workstation.nix | 1 + user/home.nix | 25 ++++++++++++++++++++++ user/packages.nix | 8 ++++++- 5 files changed, 53 insertions(+), 2 deletions(-) diff --git a/hosts/minoxy-workstation/configuration.nix b/hosts/minoxy-workstation/configuration.nix index e480fa5..72ed8d2 100644 --- a/hosts/minoxy-workstation/configuration.nix +++ b/hosts/minoxy-workstation/configuration.nix @@ -32,6 +32,25 @@ # TODO: Make all your working systems go to ext4 on the full disk for ease of use and storage virtualisation.docker.storageDriver = "btrfs"; + security.sudo.extraConfig = '' + # Sudoers config goes here + ''; + + services = { + syncthing = { + enable = true; + user = "jonas"; + dataDir = "/home/jonas/Syncthing"; # Default folder for new synced folders + configDir = "/home/jonas/.config/syncthing"; # Folder for Syncthing's settings and keys + }; +}; + + networking.extraHosts = '' + 127.0.0.1 jonas.local + ''; + + fonts.fontDir.enable = true; + # Never change this! system.stateVersion = "25.05"; } diff --git a/modules/essential.nix b/modules/essential.nix index fa036d4..301c1e3 100644 --- a/modules/essential.nix +++ b/modules/essential.nix @@ -34,7 +34,7 @@ services.avahi.nssmdns4 = true; environment = { - systemPackages = with pkgs; [ yazi tmux git starship zoxide rsync rclone ntfs3g exfatprogs ]; + systemPackages = with pkgs; [ yazi tmux git starship zoxide rsync rclone neovim alacritty gtk4.dev ]; }; nix.optimise.automatic = true; diff --git a/modules/graphics/workstation.nix b/modules/graphics/workstation.nix index 96bfdf1..5e3e1e8 100644 --- a/modules/graphics/workstation.nix +++ b/modules/graphics/workstation.nix @@ -7,6 +7,7 @@ QT_QPA_PLATFORMTHEME = "qt6ct"; QT_STYLE_OVERRIDE = "kvantum"; QT_QPA_PLATFORM = "xcb"; + TERM = "alacritty"; }; }; diff --git a/user/home.nix b/user/home.nix index 9bfcd4a..84f7db1 100644 --- a/user/home.nix +++ b/user/home.nix @@ -18,6 +18,31 @@ }; }; + # Enable and configure the gnome terminal for the nemo file manager + programs.gnome-terminal = { + enable = true; + showMenubar = false; + themeVariant = "dark"; + profile."17ef1520-f08d-403f-b033-d8ccee6b01f9" = { + visibleName = "MainHome"; + transparencyPercent = 60; + font = "FiraCode Nerd Font 12"; # Fira is installed on the system by the nixos config + default = true; + audibleBell = false; + cursorBlinkMode = "off"; + colors = { + backgroundColor = "#1d1d1d"; + cursor = { + foreground = "#1d1d1d"; # text inside cursor + background = "#ffb86c"; # light orange block + }; + foregroundColor = "#f7f6ec"; + palette = [ "#343835" "#ce3e60" "#7bb75b" "#e8b32a" "#4c99d3" "#a57fc4" "#389aac" "#f9faf6" + "#585a58" "#d18ea6" "#767e2b" "#77592e" "#337879" "#7f5190" "#76bbca" "#b1b5ae" ]; + }; + }; + }; + services.udiskie = { enable = true; notify = true; diff --git a/user/packages.nix b/user/packages.nix index 5291a2b..0585e0f 100644 --- a/user/packages.nix +++ b/user/packages.nix @@ -31,7 +31,9 @@ cheese mpv obsidian + rnote nemo-with-extensions + xournalpp anki hyprshot hyprpicker @@ -58,7 +60,8 @@ eza bat vim - neovim + unstable.neovim + inotify-tools stow wl-clipboard wl-clip-persist @@ -83,17 +86,20 @@ w3m curl wget + libinput gdu timer # --- Productivity & Misc --- just todo-txt-cli + typst systemctl-tui wiki-tui watson slides imagemagick + immich-cli bitwarden-cli lazydocker lazygit