Compare commits

..

No commits in common. "98388ba0b4ae3534fa47a15db7e104b8f5aee647" and "f425ff9a43212f0f3869c6332034f1f72a46a117" have entirely different histories.

12 changed files with 142 additions and 320 deletions

View file

@ -34,26 +34,28 @@ in {
}; };
packages = with pkgs; [ packages = with pkgs; [
# see also: system/core.nix # Add your global packages here
# keygen
duralumin duralumin
duralumin-keygen duralumin-keygen
# terminal utilities
gh
yazi
ranger ranger
neovim neovim
bottom
nix-index git
wget
imagemagick curl
tree
htop
ripgrep
killall
xdg-utils
file
gh
# for running wayland apps over ssh # for running wayland apps over ssh
waypipe waypipe
# my own screenshot utility blender
screenshot screenshot
]; ];
}; };

View file

@ -1,12 +1,10 @@
{...}: { {...}: {
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./ghostty.nix
./common.nix ./common.nix
./desktop-apps.nix ./desktop-apps.nix
./development ./development
./emacs.nix ./emacs.nix
./mail.nix
./firefox.nix ./firefox.nix
./games ./games
./git-ssh.nix ./git-ssh.nix

View file

@ -28,8 +28,6 @@
virt-manager virt-manager
foliate foliate
blender
# GUI File Manager # GUI File Manager
nemo-with-extensions nemo-with-extensions
]; ];

View file

@ -50,9 +50,6 @@ in {
hunspellDicts.de-de hunspellDicts.de-de
hunspellDicts.da-dk hunspellDicts.da-dk
# English word lists for spell checking
scowl
# jinx from emacsPackages # jinx from emacsPackages
emacsPackages.jinx emacsPackages.jinx

View file

@ -1,29 +0,0 @@
{lib, super-config, ...}:
let
# theme = import ../data/theme.nix {config = super-config; };
mkIfOrElse = cond: then_: else_: (lib.mkMerge [
(lib.mkIf cond then_)
(lib.mkIf (!cond) else_)
]);
in {
programs.ghostty = {
enable = true;
settings = {
font-family = "monospace";
font-size = 12;
title-report = true;
shell-integration = "zsh";
shell-integration-features = "no-cursor";
theme = "dark: Gruvbox Dark, light: Gruvbox Light";
window-theme = mkIfOrElse (super-config.darkMode == true) "dark" "light";
cursor-style = "block";
cursor-style-blink = false;
cursor-opacity = 0.8;
keybind = [
"ctrl+shift+enter=new_window"
];
};
};
}

View file

@ -1,65 +0,0 @@
{pkgs, ...}: {
programs.thunderbird = {
enable = true;
profiles.default = {
isDefault = true;
};
};
home.packages = with pkgs; [
rofi-rbw-wayland
pinentry-rofi
wl-clipboard
];
programs.rbw = {
enable = true;
settings = {
base_url = "https://vaultwarden.nirgendwo.xyz";
email = "janis@nirgendwo.xyz";
pinentry = pkgs.pinentry-rofi;
lock_timeout = 3600;
};
};
accounts.email.accounts = {
"Janis @ GMail" = {
address = "j4nisboehm@gmail.com";
realName = "Janis Böhm";
flavor = "gmail.com";
thunderbird = {
enable = true;
profiles = [ "default" ];
};
passwordCommand = [ "rbw" "get" "j4nisboehm @ Google" ];
};
"Janis @ Nirgendwo" = {
primary = true;
address = "janis@nirgendwo.xyz";
realName = "Janis Böhm";
userName = "janis";
imap = {
host = "mail.nirgendwo.xyz";
port = 993;
tls.enable = true;
};
smtp = {
host = "mail.nirgendwo.xyz";
port = 465;
tls.enable = true;
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
passwordCommand = [ "rbw" "get" "janis @ nirgendswo.com" ];
};
};
}

View file

@ -51,15 +51,6 @@ in {
}// super-config.extraOutputConfig; }// super-config.extraOutputConfig;
startup = [ startup = [
{
command = "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP";
}
{
command = "gesttings set org.gnome.desktop.interface color-scheme 'prefer-dark'";
}
{
command = "gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'";
}
{ {
always = true; always = true;
command = "${pkgs.gammastep}/bin/gammastep -l 54:10 -t 6500k:4500k"; command = "${pkgs.gammastep}/bin/gammastep -l 54:10 -t 6500k:4500k";

View file

@ -24,20 +24,14 @@
# GTK Setup # GTK Setup
gtk = { gtk = {
enable = true; enable = true;
# theme = {
# name = "catppuccin-mocha-standard-blue-dark";
# package = pkgs.catppuccin-gtk.override {
# accents = [ "blue" ];
# size = "standard";
# variant = "mocha";
# };
# };
theme = { theme = {
name = "Adwaita-dark"; name = "catppuccin-mocha-standard-blue-dark";
package = pkgs.gnome-themes-extra; package = pkgs.catppuccin-gtk.override {
accents = [ "blue" ];
size = "standard";
variant = "mocha";
};
}; };
iconTheme = { iconTheme = {
name = "Papirus-Dark"; name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override { package = pkgs.catppuccin-papirus-folders.override {
@ -45,19 +39,14 @@
accent = "blue"; accent = "blue";
}; };
}; };
# cursorTheme = { cursorTheme = {
# name = "catppuccin-mocha-lavender-cursors"; name = "catppuccin-mocha-lavender-cursors";
# package = pkgs.catppuccin-cursors.mochaLavender; package = pkgs.catppuccin-cursors.mochaLavender;
# };
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = lib.mkIf (super-config.darkMode == true) 1;
}; };
gtk4.extraConfig = { gtk3 = {
gtk-application-prefer-dark-theme = lib.mkIf (super-config.darkMode == true) 1; extraConfig.gtk-application-prefer-dark-theme = super-config.darkMode == true;
}; };
}; };
dconf.settings = { dconf.settings = {
"org/gtk/settings/file-chooser" = { "org/gtk/settings/file-chooser" = {
sort-directories-first = true; sort-directories-first = true;
@ -65,7 +54,7 @@
# GTK4 Setup # GTK4 Setup
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
# gtk-theme = "catppuccin-mocha-standard-blue-dark"; gtk-theme = "catppuccin-mocha-standard-blue-dark";
color-scheme = lib.mkIf (super-config.darkMode == true) "prefer-dark"; color-scheme = lib.mkIf (super-config.darkMode == true) "prefer-dark";
}; };
}; };
@ -99,11 +88,13 @@
qt = { qt = {
enable = true; enable = true;
platformTheme.name = "gtk"; platformTheme.name = "qtct";
style.name = "adwaita-dark"; style = {
name = "kvantum";
};
}; };
systemd.user.sessionVariables = { systemd.user.sessionVariables = {
QT_STYLE_OVERRIDE = "adwaita-dark"; QT_STYLE_OVERRIDE = "kvantum";
}; };
} }

View file

@ -3,12 +3,6 @@ let
aliases = import ../data/zsh-aliases.nix {}; aliases = import ../data/zsh-aliases.nix {};
in { in {
home.packages = with pkgs; [ pure-prompt ]; home.packages = with pkgs; [ pure-prompt ];
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;

View file

@ -4,50 +4,10 @@
zsh zsh
wget wget
curl curl
rsync
git git
vim vim
jq
bat
ripgrep
ripgrep-all
zoxide
file
fd
tree
xdg-utils
# nixos util
nh
# compression
unzip
zip
zstd
# stats and monitoring
fastfetch
pciutils
usbutils
lsof
lm_sensors
# network tools
nmap
tcpdump
doggo
inetutils
iproute2
whois
# documentation
man-pages
man-db
# system monitoring
htop htop
bottom
killall
linux-firmware linux-firmware
linuxHeaders linuxHeaders

View file

@ -2,7 +2,6 @@
imports = [ imports = [
./boot.nix ./boot.nix
./core.nix ./core.nix
./xdg.nix
./fonts.nix ./fonts.nix
./hardware.nix ./hardware.nix
./networking.nix ./networking.nix

View file

@ -1,14 +0,0 @@
{pkgs, ...}: {
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal-xapp
];
config.common.default = "*";
};
}