From f559671cae7b02526dedf7923b135c09e0d095d5 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Fri, 3 Nov 2023 15:59:16 +0100 Subject: Inital commit ;P --- hosts/wonderland/home.nix | 136 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 hosts/wonderland/home.nix (limited to 'hosts/wonderland/home.nix') diff --git a/hosts/wonderland/home.nix b/hosts/wonderland/home.nix new file mode 100644 index 0000000..c29420b --- /dev/null +++ b/hosts/wonderland/home.nix @@ -0,0 +1,136 @@ +{ pkgs +, flakeRoot +, ... +}: +let + desktop-pkgs = with pkgs; [ + mullvad-vpn + bitwarden + calibre + beekeeper-studio + thunderbird + brightnessctl + + libsForQt5.plasma-browser-integration + libsForQt5.kdeconnect-kde + libsForQt5.ark + libsForQt5.kate + haruna # Video player + libreoffice-qt + gimp + audacity + discord + whatsapp-for-linux + inkscape + + wineWowPackages.full + winetricks + ]; +in +{ + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.sharedModules = [{ imports = [ (flakeRoot + /share/home) ]; }]; + + home-manager.users.alice = { + imports = + let + home = flakeRoot + /share/home; + in + [ + # Custom home manager modules + (flakeRoot + /share/hm-modules/wpaperd.nix) + + # Config + (home + /kitty.nix) + (home + /hyprland.nix) + (home + /git.nix) + (home + /firefox) + (home + /wezterm) + ]; + home.packages = with pkgs; + [ + signal-desktop + tdesktop # Telegram desktop + qbittorrent + okteta + emacs + # spotify-qt librespot + nheko # matrix client + + # Various utils + # qemu_kvm + pijul # alternative vsc system + tokei # counts lines of code + dua # modern du with interactive mode (dua i) + btop # modern top + + # Gaming + libsForQt5.kpat # solitare + jdk17_headless + superTuxKart + + linux-wifi-hotspot + qemu_kvm + ] + ++ desktop-pkgs; + + home.stateVersion = "22.05"; + + programs.gallery-dl = { + enable = true; + settings.extractor = { + base-directory = "$XDG_DOWNLOAD_DIR/gallery-dl"; + + postprocessors = [ + { + name = "metadata"; + mode = "json"; + whitelist = [ + "danbooru" + "moebooru" + "gelbooru" + "sankaku" + "nhentai" + "rule34" + ]; + } + { + name = "zip"; + compression = "store"; + extension = "cbz"; + filter = "extension not in ('zip', 'rar')"; + whitelist = [ "nhentai" "mangadex" ]; + } + ]; + + Danbooru.metadata = true; + }; # End of settings.extractor + }; # End of programs.gallery-dl + }; # End of users.alice + + home-manager.users.madhatter = { + home.packages = desktop-pkgs; + imports = + let + home = flakeRoot + /share/home; + in + [ + # Config + (home + /kitty.nix) + (home + /git.nix) + (home + /firefox) + ]; + + home.stateVersion = "23.05"; + }; + + home-manager.users.root = { + home.packages = with pkgs; [ + linux-wifi-hotspot + dua # modern du with interactive mode (dua i) + ]; + + home.stateVersion = "22.05"; + }; +} -- cgit v1.3.1