Files
nixos/home/common.nix

232 lines
6.9 KiB
Nix
Raw Normal View History

2026-04-12 17:09:00 +02:00
{ lib,
config,
pkgs,
hostName,
2026-04-12 17:09:00 +02:00
hyprland-toggle-tiling,
legacy-launcher,
pass-autotype,
... }:
2026-04-08 02:55:42 +02:00
{
imports = [
../modules/hyprland.nix
./hosts/${hostName}.nix
2026-04-08 02:55:42 +02:00
];
2026-04-08 02:55:42 +02:00
home = {
username = "typo";
homeDirectory = "/home/typo";
stateVersion = "25.11";
packages = with pkgs; [
2026-04-15 21:12:18 +02:00
virt-manager
2026-04-12 17:09:00 +02:00
pass-autotype
2026-04-12 15:59:48 +02:00
winbox4
2026-04-12 15:55:47 +02:00
legacy-launcher
hyprland-toggle-tiling
2026-04-08 16:44:42 +02:00
killall
2026-04-08 02:55:42 +02:00
lutris
bottles
wineWow64Packages.stable
authenticator
adw-gtk3
mpv
transmission-remote-gtk
qbittorrent
ranger
2026-04-08 17:50:06 +02:00
htop-vim
2026-04-08 02:55:42 +02:00
tuba
papirus-icon-theme
gnome-tweaks
discord
oh-my-fish
monocraft
lsd
dust
bat
file
addwater
swaynotificationcenter
2026-04-09 23:39:26 +02:00
swayosd
2026-04-08 02:55:42 +02:00
pfetch
waybar
swww
fuzzel
waypaper
hyprlock
hypridle
hyprsunset
hyprpicker
hyprshot
hyprpolkitagent
xdg-desktop-portal-hyprland
vscode
qtpass
rnote
fractal
tidal-hifi
high-tide
pass-wayland
kitty
emacs
2026-04-08 02:55:42 +02:00
vim
git
tree
gnome-shell-extensions
gnomeExtensions.alphabetical-app-grid
gnomeExtensions.blur-my-shell
gnomeExtensions.caffeine
gnomeExtensions.clipboard-indicator
gnomeExtensions.dash-to-dock
gnomeExtensions.dash-to-panel
gnomeExtensions.desktop-icons-ng-ding
gnomeExtensions.gsconnect
gnomeExtensions.tiling-shell
];
};
2026-04-08 17:50:06 +02:00
wayland.windowManager.hyprland = {
enable = true;
package = null;
portalPackage = null;
};
2026-04-08 02:55:42 +02:00
dconf.settings = {
2026-04-08 12:08:11 +02:00
"org/gnome/desktop/background" = {
picture-uri = "file:///home/typo/Pictures/Backgrounds/upscalemedia-transformed-light.png";
picture-uri-dark = "file:///home/typo/Pictures/Backgrounds/upscalemedia-transformed.png";
};
2026-04-08 02:55:42 +02:00
"org/gnome/desktop/wm/keybindings" = {
close = lib.hm.gvariant.mkValue ["<Super>q"];
};
"org/gnome/shell" = {
favorite-apps = lib.hm.gvariant.mkValue [
"firefox.desktop"
"org.gnome.Nautilus.desktop"
"io.github.nokse22.high-tide.desktop"
"org.gnome.Fractal.desktop"
"discord.desktop"
"emacsclient.desktop"
"code.desktop"
"com.github.flxzt.rnote.desktop"
"org.gnome.Calendar.desktop"
"org.gnome.Console.desktop"
];
disabled-extensions = lib.hm.gvariant.mkValue [];
enabled-extensions = lib.hm.gvariant.mkValue [
"AlphabeticalAppGrid@stuarthayhurst"
"apps-menu@gnome-shell-extensions.gcampax.github.com"
"blur-my-shell@aunetx"
"caffeine@patapon.info"
"clipboard-indicator@tudmotu.com"
"dash-to-panel@jderose9.github.com"
"gsconnect@andyholmes.github.io"
"status-icons@gnome-shell-extensions.gcampax.github.com"
"tilingshell@ferrarodomenico.com"
"user-theme@gnome-shell-extensions.gcampax.github.com"
];
};
"org/gnome/libgnomekbd/keyboard" = {
layouts = "['hu']";
};
"org/gnome/desktop/wm/preferences" = {
button-layout = ":minimize,maximize,close";
};
"org/gnome/desktop/interface" = {
icon-theme = "Papirus-Dark";
monospace-font-name = "Monocraft 10";
document-font-name = "Adwaita Sans 10";
font-name = "Adwaita Sans 10";
2026-04-08 11:47:56 +02:00
cursor-theme = "Adwaita";
2026-04-08 02:55:42 +02:00
gtk-theme = "adw-gtk3-dark";
};
"org/gnome/shell/extensions/dash-to-panel" = {
animate-appicon-hover=true;
animate-appicon-hover-animation-convexity="{\"RIPPLE\": 2.0, \"PLANK\": 1.0, \"SIMPLE\": 0.0}";
animate-appicon-hover-animation-extent="{\"RIPPLE\": 4, \"PLANK\": 4, \"SIMPLE\": 1}";
animate-appicon-hover-animation-type="SIMPLE";
appicon-margin=8;
appicon-padding=4;
appicon-style="NORMAL";
context-menu-entries="[{\"title\":\"Terminal\",\"cmd\":\"TERMINALSETTINGS\"},{\"title\":\"System monitor\",\"cmd\":\"gnome-system-monitor\"},{\"title\":\"Files\",\"cmd\":\"nautilus\"},{\"title\":\"Extensions\",\"cmd\":\"gnome-extensions-app\"}]";
dot-position="TOP";
dot-style-focused="METRO";
extension-version=72;
global-border-radius=0;
group-apps=true;
hide-overview-on-startup=true;
highlight-appicon-hover=false;
hotkeys-overlay-combo="TEMPORARILY";
intellihide=false;
isolate-monitors=true;
isolate-workspaces=true;
overview-click-to-exit=false;
panel-anchors="{\"SAM-0x00000000\":\"MIDDLE\"}";
panel-element-positions="{\"SAM-0x00000000\":[{\"element\":\"showAppsButton\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"activitiesButton\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"leftBox\",\"visible\":true,\"position\":\"stackedTL\"},{\"element\":\"taskbar\",\"visible\":true,\"position\":\"stackedTL\"},{\"element\":\"centerBox\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"rightBox\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"dateMenu\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"systemMenu\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"desktopButton\",\"visible\":true,\"position\":\"stackedBR\"}]}";
panel-lengths="{\"SAM-0x00000000\":100}";
panel-positions="{\"SAM-0x00000000\":\"TOP\"}";
panel-side-margins=0;
panel-sizes="{\"SAM-0x00000000\":32}";
prefs-opened=true;
progress-show-count=true;
show-apps-icon-file="";
show-apps-icon-side-padding=8;
show-favorites=true;
show-favorites-all-monitors=true;
show-running-apps=true;
show-showdesktop-hover=true;
stockgs-keep-dash=false;
stockgs-keep-top-panel=false;
stockgs-panelbtn-click-only=false;
taskbar-locked=true;
trans-bg-color="#000000";
trans-dynamic-anim-target=0.8;
trans-dynamic-anim-time=300;
trans-dynamic-behavior="ALL_WINDOWS";
trans-dynamic-distance=1;
trans-panel-opacity=0.0;
trans-use-custom-bg=true;
trans-use-custom-gradient=false;
trans-use-custom-opacity=true;
trans-use-dynamic-opacity=true;
window-preview-title-position="TOP";
};
"org/gnome/shell/extensions/blur-my-shell" = {
pipelines = "{\"pipeline_default\": {\"name\": <\"Default\">, \"effects\": <[<{\"type\": <\"native_static_gaussian_blur\">, \"id\": <\"effect_35222615027186\">, \"params\": <{\"unscaled_radius\": <100>, \"brightness\": <0.7>}>}>]>}, \"pipeline_default_rounded\": {\"name\": <\"Default rounded\">, \"effects\": <[<{\"type\": <\"native_static_gaussian_blur\">, \"id\": <\"effect_61989482273055\">, \"params\": <{\"unscaled_radius\": <100>, \"brightness\": <0.7>}>}>, <{\"type\": <\"corner\">, \"id\": <\"effect_88386155746677\">, \"params\": <{\"radius\": <20>, \"corners_bottom\": <true>, \"corners_top\": <true>}>}>]>}}";
};
};
home.file.".config/gtk-3.0/bookmarks".text = ''
file:///home/typo/Downloads Downloads
file:///home/typo/Documents Documents
file:///home/typo/Music Music
file:///home/typo/Pictures Pictures
ftp://typo@typofelho.ddns.net/ Felhő
'';
2026-04-08 13:45:51 +02:00
home.file.".config/gtk-3.0/bookmarks".force = true;
2026-04-08 02:55:42 +02:00
programs.fish = {
enable = true;
shellAliases = {
2026-04-08 11:51:12 +02:00
#nrs = "sudo nixos-rebuild switch";
#nrsu = "sudo nixos-rebuild switch --upgrade";
#nixconf = "sudo vim /etc/nixos/configuration.nix";
#nixhome = "sudo vim /etc/nixos/home.nix";
2026-04-08 02:55:42 +02:00
du = "dust";
cat = "bat";
ls = "lsd";
vi = "vim";
};
shellInit = "pfetch";
};
}