From eae1e605a04e7e78cac7052a5cc284de5f9ee87f Mon Sep 17 00:00:00 2001 From: scouckel Date: Fri, 27 Mar 2026 22:51:08 -0400 Subject: delete everything --- hosts/generic/configuration.nix | 109 ---- hosts/generic/home.nix | 65 --- hosts/shar/configuration.nix | 586 --------------------- hosts/shar/hardware-configuration.nix | 40 -- hosts/tiamat/configuration.nix | 172 ------ hosts/tiamat/hardware-configuration.nix | 40 -- hosts/tiamat/home.nix | 92 ---- hosts/vecna/configuration.nix | 154 ------ hosts/vecna/hardware-configuration.nix | 42 -- hosts/vecna/home.nix | 89 ---- hosts/xanathar/configuration.nix | 143 ----- hosts/xanathar/hardware-configuration.nix | 40 -- hosts/xanathar/home.nix | 86 --- old-flake.nix | 143 ----- unmoved-modules/home-manager/default.nix | 79 --- unmoved-modules/home-manager/fastfetch-logo.txt | 17 - unmoved-modules/home-manager/fastfetch.nix | 61 --- unmoved-modules/home-manager/gaming.nix | 37 -- unmoved-modules/home-manager/git.nix | 11 - unmoved-modules/home-manager/hypr/autostart.nix | 14 - unmoved-modules/home-manager/hypr/binds.nix | 94 ---- unmoved-modules/home-manager/hypr/camdenyards.jpg | Bin 2850041 -> 0 bytes unmoved-modules/home-manager/hypr/decoration.nix | 28 - unmoved-modules/home-manager/hypr/default.nix | 140 ----- unmoved-modules/home-manager/hypr/hypridle.nix | 26 - unmoved-modules/home-manager/hypr/hyprlock.nix | 46 -- unmoved-modules/home-manager/hypr/hyprpaper.nix | 26 - unmoved-modules/home-manager/hypr/input.nix | 38 -- unmoved-modules/home-manager/hypr/pyprland.toml | 12 - .../home-manager/hypr/rofi-hyprland.nix | 23 - unmoved-modules/home-manager/hypr/swaync.nix | 13 - .../home-manager/hypr/waybar-hyprland.nix | 128 ----- unmoved-modules/home-manager/kitty.nix | 23 - unmoved-modules/home-manager/lazygit.nix | 13 - unmoved-modules/home-manager/mangowc/default.nix | 66 --- unmoved-modules/home-manager/nvf.nix | 116 ---- unmoved-modules/home-manager/obs.nix | 12 - unmoved-modules/home-manager/rbw.nix | 19 - unmoved-modules/home-manager/spicetify.nix | 27 - unmoved-modules/home-manager/spotify-player.nix | 7 - unmoved-modules/home-manager/vscodium.nix | 47 -- unmoved-modules/home-manager/yazi.nix | 42 -- unmoved-modules/home-manager/zen-browser.nix | 41 -- unmoved-modules/nixos/bluetooth.nix | 9 - unmoved-modules/nixos/default.nix | 81 --- unmoved-modules/nixos/fish.nix | 13 - unmoved-modules/nixos/flatpak.nix | 13 - unmoved-modules/nixos/gaming.nix | 19 - unmoved-modules/nixos/greetd.nix | 18 - unmoved-modules/nixos/ly.nix | 5 - unmoved-modules/nixos/nas.nix | 101 ---- unmoved-modules/nixos/nix-ld.nix | 32 -- unmoved-modules/nixos/nordvpn.nix | 0 unmoved-modules/nixos/pipewire.nix | 10 - unmoved-modules/nixos/steam.nix | 19 - unmoved-modules/nixos/thunar.nix | 17 - unmoved-modules/nixos/xdg-portal.nix | 14 - 57 files changed, 3358 deletions(-) delete mode 100644 hosts/generic/configuration.nix delete mode 100644 hosts/generic/home.nix delete mode 100644 hosts/shar/configuration.nix delete mode 100644 hosts/shar/hardware-configuration.nix delete mode 100644 hosts/tiamat/configuration.nix delete mode 100644 hosts/tiamat/hardware-configuration.nix delete mode 100644 hosts/tiamat/home.nix delete mode 100644 hosts/vecna/configuration.nix delete mode 100644 hosts/vecna/hardware-configuration.nix delete mode 100644 hosts/vecna/home.nix delete mode 100644 hosts/xanathar/configuration.nix delete mode 100644 hosts/xanathar/hardware-configuration.nix delete mode 100644 hosts/xanathar/home.nix delete mode 100644 old-flake.nix delete mode 100644 unmoved-modules/home-manager/default.nix delete mode 100644 unmoved-modules/home-manager/fastfetch-logo.txt delete mode 100644 unmoved-modules/home-manager/fastfetch.nix delete mode 100644 unmoved-modules/home-manager/gaming.nix delete mode 100644 unmoved-modules/home-manager/git.nix delete mode 100644 unmoved-modules/home-manager/hypr/autostart.nix delete mode 100644 unmoved-modules/home-manager/hypr/binds.nix delete mode 100644 unmoved-modules/home-manager/hypr/camdenyards.jpg delete mode 100644 unmoved-modules/home-manager/hypr/decoration.nix delete mode 100644 unmoved-modules/home-manager/hypr/default.nix delete mode 100644 unmoved-modules/home-manager/hypr/hypridle.nix delete mode 100644 unmoved-modules/home-manager/hypr/hyprlock.nix delete mode 100644 unmoved-modules/home-manager/hypr/hyprpaper.nix delete mode 100644 unmoved-modules/home-manager/hypr/input.nix delete mode 100644 unmoved-modules/home-manager/hypr/pyprland.toml delete mode 100644 unmoved-modules/home-manager/hypr/rofi-hyprland.nix delete mode 100644 unmoved-modules/home-manager/hypr/swaync.nix delete mode 100644 unmoved-modules/home-manager/hypr/waybar-hyprland.nix delete mode 100644 unmoved-modules/home-manager/kitty.nix delete mode 100644 unmoved-modules/home-manager/lazygit.nix delete mode 100644 unmoved-modules/home-manager/mangowc/default.nix delete mode 100644 unmoved-modules/home-manager/nvf.nix delete mode 100644 unmoved-modules/home-manager/obs.nix delete mode 100644 unmoved-modules/home-manager/rbw.nix delete mode 100644 unmoved-modules/home-manager/spicetify.nix delete mode 100644 unmoved-modules/home-manager/spotify-player.nix delete mode 100644 unmoved-modules/home-manager/vscodium.nix delete mode 100644 unmoved-modules/home-manager/yazi.nix delete mode 100644 unmoved-modules/home-manager/zen-browser.nix delete mode 100644 unmoved-modules/nixos/bluetooth.nix delete mode 100644 unmoved-modules/nixos/default.nix delete mode 100644 unmoved-modules/nixos/fish.nix delete mode 100644 unmoved-modules/nixos/flatpak.nix delete mode 100644 unmoved-modules/nixos/gaming.nix delete mode 100644 unmoved-modules/nixos/greetd.nix delete mode 100644 unmoved-modules/nixos/ly.nix delete mode 100644 unmoved-modules/nixos/nas.nix delete mode 100644 unmoved-modules/nixos/nix-ld.nix delete mode 100644 unmoved-modules/nixos/nordvpn.nix delete mode 100644 unmoved-modules/nixos/pipewire.nix delete mode 100644 unmoved-modules/nixos/steam.nix delete mode 100644 unmoved-modules/nixos/thunar.nix delete mode 100644 unmoved-modules/nixos/xdg-portal.nix diff --git a/hosts/generic/configuration.nix b/hosts/generic/configuration.nix deleted file mode 100644 index 2fda8b9..0000000 --- a/hosts/generic/configuration.nix +++ /dev/null @@ -1,109 +0,0 @@ -{ pkgs, ... }: - -{ - # Bootloader. - boot.loader = { - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; # ← use the same mount point here. - }; - grub = { - efiSupport = true; - device = "nodev"; - useOSProber = true; - theme = "${pkgs.fetchFromGitHub { # blue screen of life grub theme - owner = "scouckel"; - repo = "bsol"; - rev = "a8eedad9e7163dce230ca7886be8e1b4ef81da99"; - sha256 = "sha256-P2q73uM1Ysn1a+0mOGOvee/Q1WAYRGQvfanrasx/8r8"; - }}/bsol"; - }; - }; - - boot.kernelPackages = pkgs.linuxPackages_latest; - - # amd gpu config - hardware.graphics = { - enable = true; - enable32Bit = true; - }; - - hardware.firmware = with pkgs; [ - linux-firmware - ]; - - # networking - system.name = "system"; - networking.hostName = "system"; - networking.networkmanager = { - enable = true; - plugins = with pkgs; [ - networkmanager-openvpn - ]; - }; - - networking.nameservers = [ "1.1.1.1" "9.9.9.9" ]; - - # localization - time.timeZone = "Etc/UTC"; - i18n.defaultLocale = "en_US.UTF-8"; - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - users.users.user = { - isNormalUser = true; - description = "user"; - extraGroups = [ "networkmanager" "wheel" "nordvpn" ]; - }; - - nixpkgs.config.allowUnfree = true; - - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; - }; - - environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ]; - - gaming.enable = true; - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - security.polkit.enable = true; - services.playerctld.enable = true; - - services.openssh = { - enable = true; - settings.PermitRootLogin = "no"; - # PasswordAuthentication = true; - # allowSFTP = true; - }; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - system.stateVersion = "25.05"; -} diff --git a/hosts/generic/home.nix b/hosts/generic/home.nix deleted file mode 100644 index 64bf842..0000000 --- a/hosts/generic/home.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ config, pkgs, ... }: - -{ - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "user"; - home.homeDirectory = "/home/user"; - - # This value determines the Home Manager release that your configuration is - # compatible with. This helps avoid breakage when a new Home Manager release - # introduces backwards incompatible changes. - # - # You should not change this value, even if you update Home Manager. If you do - # want to update the value, then make sure to first check the Home Manager - # release notes. - home.stateVersion = "25.05"; # Please read the comment before changing. - - # The home.packages option allows you to install Nix packages into your - # environment. - - # Home Manager is pretty good at managing dotfiles. The primary way to manage - # plain files is through 'home.file'. - home.file = { - # # Building this configuration will create a copy of 'dotfiles/screenrc' in - # # the Nix store. Activating the configuration will then make '~/.screenrc' a - # # symlink to the Nix store copy. - # ".screenrc".source = dotfiles/screenrc; - - # # You can also set the file content immediately. - # ".gradle/gradle.properties".text = '' - # org.gradle.console=verbose - # org.gradle.daemon.idletimeout=3600000 - # ''; - }; - - # Home Manager can also manage your environment variables through - # 'home.sessionVariables'. These will be explicitly sourced when using a - # shell provided by Home Manager. If you don't want to manage your shell - # through Home Manager then you have to manually source 'hm-session-vars.sh' - # located at either - # - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # /etc/profiles/per-user/jck/etc/profile.d/hm-session-vars.sh - # - home.sessionVariables = { - # EDITOR = "emacs"; - }; - - hyprland.enable = true; - gaming.enable = true; - - dconf.settings."org/gnome/desktop/interface" = { - color-scheme = "prefer-dark"; - }; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; -} diff --git a/hosts/shar/configuration.nix b/hosts/shar/configuration.nix deleted file mode 100644 index ef68150..0000000 --- a/hosts/shar/configuration.nix +++ /dev/null @@ -1,586 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; - }; - - # Bootloader. - boot.loader = { - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; # ← use the same mount point here. - }; - grub = { - efiSupport = true; - device = "nodev"; - useOSProber = true; - theme = "${pkgs.fetchFromGitHub { # blue screen of life grub theme - owner = "scouckel"; - repo = "bsol"; - rev = "a8eedad9e7163dce230ca7886be8e1b4ef81da99"; - sha256 = "sha256-P2q73uM1Ysn1a+0mOGOvee/Q1WAYRGQvfanrasx/8r8"; - }}/bsol"; - }; - }; - - system.name = "shar"; - networking.hostName = "shar"; # Define your hostname. - - boot.supportedFilesystems = [ "zfs" ]; - - services.zfs = { - autoScrub.enable = true; - autoSnapshot.enable = true; - }; - - fileSystems."/tank" = { - device = "tank"; - fsType = "zfs"; - options = [ "nofail" ]; - }; - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.interfaces.eno1.ipv4.addresses = [{ - address = "173.66.162.54"; - prefixLength = 28; - }]; - networking.interfaces.eno1.mtu = 1400; - networking.interfaces.eno1.wakeOnLan.enable = true; - networking.hostId = "958b5d5d"; - networking.useDHCP = false; - networking.defaultGateway = { - address = "173.66.162.1"; - interface = "eno1"; - }; - networking.nameservers = [ - "1.1.1.1" - "9.9.9.9" - ]; - - # Set your time zone. - time.timeZone = "America/New_York"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - hardware.enableRedistributableFirmware = true; - boot.kernelParams = [ "i915.enable_guc=3" ]; - - environment.sessionVariables = { - LIBVA_DRIVER_NAME = "iHD"; - }; - - hardware.graphics = { - enable = true; - extraPackages = with pkgs; [ - intel-media-driver - vpl-gpu-rt - intel-compute-runtime - ]; - }; - - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.jck = { - isNormalUser = true; - description = "jck"; - extraGroups = [ "networkmanager" "wheel" "media" ]; - packages = with pkgs; [ - vim - git - lazygit - yazi - navidrome - btop - trash-cli - ]; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBgQS9Y3yqztLL0Ss0JUCN04B6zgLXIETgY0jyvT6I98 jck@tiamat" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVbrjXliZECEFOLlgJ8vy+Qja1G+sY0LM+ijEgyP3HZ jck@vecna" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMGuvWTpRTumIOlnUHRBx5ZqjFi5qfezvLrpLAzB97nq jck@balduran" - ]; - shell = pkgs.fish; - }; - - security.sudo.wheelNeedsPassword = false; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - jellyfin-ffmpeg - kitty.terminfo - # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. - # wget - ]; - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - # List services that you want to enable: - - # Enable the OpenSSH daemon. - services.openssh = { - enable = true; - settings.PasswordAuthentication = false; - openFirewall = true; - }; - - programs.fish.enable = true; - - programs.nh = { - enable = true; - clean.enable = true; - clean.extraArgs = "--keep-since 3d --keep 3"; - clean.dates = "daily"; - flake = "/home/jck/nixosconf/"; - }; - - services.tailscale = { - enable = true; - useRoutingFeatures = "server"; - extraUpFlags = [ - "--login-server=https://headscale.jckrinsky.net" - "--advertise-exit-node" - ]; - }; - - networking.nat = { - enable = true; - internalInterfaces = [ "tailscale0" ]; - externalInterface = "mullvad"; - }; - - services.headscale = { - enable = true; - port = 8085; - settings = { - server_url = "https://headscale.jckrinsky.net"; - dns = { - magic_dns = false; - nameservers.global = [ "1.1.1.1" "9.9.9.9" ]; - }; - prefixes = { - v4 = "100.64.0.0/10"; - v6 = "fd7a:115c:a1e0::/48"; - }; - }; - }; - - services.nfs.server = { - enable = true; - - exports = '' - /tank/media 100.64.0.0/10(rw,async,no_subtree_check) - /tank/data 100.64.0.0/10(rw,async,no_subtree_check) - /tank/backups 100.64.0.0/10(rw,async,no_subtree_check) - ''; - }; - - services.nginx = { - enable = true; - recommendedProxySettings = true; - recommendedTlsSettings = true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - - virtualHosts."headscale.jckrinsky.net" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:8085"; - proxyWebsockets = true; - extraConfig = '' - proxy_buffering off; - ''; - }; - }; - - virtualHosts."music.jckrinsky.net" = { - enableACME = true; - forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:4533"; - }; - - virtualHosts."jellyfin.jckrinsky.net" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:8096"; - proxyWebsockets = true; - extraConfig = '' - proxy_buffering off; - ''; - }; - }; - - virtualHosts."radicale.jckrinsky.net" = { - enableACME = true; - forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:5232"; - }; - - virtualHosts."jellyseerr.jckrinsky.net" = { - enableACME = true; - forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:5055"; - }; - - virtualHosts."git.jckrinsky.net" = { - enableACME = true; - forceSSL = true; - }; - }; - - security.acme = { - acceptTerms = true; - defaults.email = "jckrinsky@gmail.com"; - }; - - services.navidrome = { - enable = true; - settings = { - MusicFolder = "/tank/media/audio"; - DataFolder = "/tank/data/navidrome"; - Address = "127.0.0.1"; - Port = 4533; - EnableTranscoding = true; - EnableMediaDeletion = false; - Scanner.PurgeMissing = "always"; - EnableSharing = true; - DefaultShareExpiration = "24h"; - }; - }; - - users.users.navidrome.extraGroups = [ "media" ]; - - services.jellyfin = { - enable = true; - openFirewall = false; - dataDir = "/tank/data/jellyfin/"; - hardwareAcceleration = { - enable = true; - device = "/dev/dri/renderD128"; - }; - }; - - systemd.services.jellyfin.serviceConfig = { - Restart = "on-failure"; - RestartSec = "5s"; - StartLimitIntervalSec = 300; - StartLimitBurst = 5; - }; - - users.users.jellyfin.extraGroups = [ "video" "render" "media" ]; - systemd.services.jellyfin.after = [ "zfs-mount.service" ]; - systemd.services.jellyfin.requires = [ "zfs.target" ]; - - services.radarr = { - enable = true; - openFirewall = false; - dataDir = "/tank/data/arr/radarr"; - settings = { - server = { - bindAddress = "*"; - port = 7878; - }; - }; - }; - - services.lidarr = { - enable = true; - openFirewall = false; - dataDir = "/tank/data/arr/lidarr"; - settings = { - server = { - bindAddress = "*"; - port = 8686; - }; - }; - }; - - services.sonarr = { - enable = true; - openFirewall = false; - dataDir = "/tank/data/arr/sonarr"; - settings = { - server = { - bindAddress = "*"; - port = 8989; - }; - }; - }; - - services.prowlarr = { - enable = true; - openFirewall = false; - dataDir = "/tank/data/arr/prowlarr"; - settings = { - server = { - bindAddress = "*"; - port = 9696; - }; - }; - }; - - users.users.prowlarr = { - isSystemUser = true; - group = "prowlarr"; - }; - users.groups.prowlarr = {}; - systemd.services.prowlarr.serviceConfig = { - DynamicUser = lib.mkForce false; - User = lib.mkForce "prowlarr"; - Group = lib.mkForce "prowlarr"; - ReadWritePaths = [ "/tank/data/arr/prowlarr" ]; - ExecStart = lib.mkForce "${pkgs.prowlarr}/bin/Prowlarr -nobrowser -data=/tank/data/arr/prowlarr"; - ProtectSystem = lib.mkForce "prowlarr"; - }; - - services.flaresolverr = { - enable = true; - }; - - users.groups.media = {}; - users.users.sonarr.extraGroups = [ "media" ]; - users.users.radarr.extraGroups = [ "media" ]; - users.users.lidarr.extraGroups = [ "media" ]; - users.users.qbittorrent.extraGroups = [ "media" ]; - - services.qbittorrent = { - enable = true; - openFirewall = false; - }; - - systemd.services.qbittorrent.serviceConfig = { - RestrictNetworkInterfaces = [ - "lo" - "mullvad" - "tailscale0" - ]; - }; - - networking.wg-quick.interfaces.mullvad = { - autostart = true; - privateKeyFile = "/home/jck/mullvad.key"; - address = [ "10.74.181.209/32" ]; - table = "off"; - - peers = [ - { - publicKey = "qD3AH8vI8MhEVc9+0+2O8zV0Gx9FfKdy7ri3Bnpzo10="; - allowedIPs = [ "0.0.0.0/0" "::/0" ]; - endpoint = "185.213.193.3:51820"; - persistentKeepalive = 25; - } - ]; - - postUp = '' - ${pkgs.iproute2}/bin/ip route add default dev mullvad table 1234 - ${pkgs.iproute2}/bin/ip rule add from 10.74.181.209 table 1234 priority 1000 - ${pkgs.iproute2}/bin/ip rule add iif tailscale0 table 1234 priority 1010 - ''; - - postDown = '' - ${pkgs.iproute2}/bin/ip rule del from 10.74.181.209 table 1234 - ${pkgs.iproute2}/bin/ip rule del iif tailscale0 table 1234 priority 1010 - ''; - }; - - services.jellyseerr = { - enable = true; - configDir = "/tank/data/jellyseerr"; - openFirewall = false; - port = 5055; - }; - - users.users.jellyseerr = { - isSystemUser = true; - group = "jellyseerr"; - }; - users.groups.jellyseerr = {}; - systemd.services.jellyseerr.serviceConfig = { - DynamicUser = lib.mkForce false; - User = lib.mkForce "jellyseerr"; - Group = lib.mkForce "jellyseerr"; - ReadWritePaths = [ "/tank/data/jellyseerr" ]; - ExecStart = lib.mkForce "${pkgs.jellyseerr}/bin/jellyseerr"; - }; - systemd.services.jellyseerr.after = [ "zfs-mount.service" ]; - systemd.services.jellyseerr.requires = [ "zfs.target" ]; - - services.pufferpanel = { - enable = true; - - extraPackages = [ - pkgs.jdk8_headless - pkgs.jdk17_headless - pkgs.steam-run - ]; - - environment = { - PUFFER_WEB_HOST = "100.64.0.2:8086"; - PUFFER_DAEMON_SFTP_HOST = "100.64.0.2:5657"; - PUFFER_DAEMON_CONSOLE_BUFFER = "1000"; - PUFFER_DAEMON_CONSOLE_FORWARD = "true"; - PUFFER_PANEL_REGISTRATIONENABLED = "false"; - }; - }; - - users.users.pufferpanel = { - isSystemUser = true; - group = "pufferpanel"; - home = "/tank/data/pufferpanel"; - }; - users.groups.pufferpanel = {}; - systemd.services.pufferpanel.serviceConfig = { - DynamicUser = lib.mkForce false; - User = lib.mkForce "pufferpanel"; - Group = lib.mkForce "pufferpanel"; - ReadWritePaths = "/tank/data/pufferpanel"; - ExecStart = lib.mkForce "${config.services.pufferpanel.package}/bin/pufferpanel run --workDir /tank/data/pufferpanel"; - }; - systemd.services.pufferpanel.after = [ "zfs-mount.service" ]; - systemd.services.pufferpanel.requires = [ "zfs.target" ]; - - programs.steam.dedicatedServer.openFirewall = true; - hardware.graphics.enable32Bit = true; - -# services.slskd = { -# enable = true; -# -# }; -# -# systemd.services.slskd.serviceConfig = { -# RestrictNetworkInterfaces = [ -# "lo" -# "mullvad" -# "tailscale0" -# ]; -# }; - - services.radicale = { - enable = true; - settings = { - server = { - hosts = [ "127.0.0.1:5232" ]; - }; - auth = { - type = "htpasswd"; - htpasswd_filename = "/tank/data/radicale/users"; - htpasswd_encryption = "autodetect"; - }; - storage = { - filesystem_folder = "/tank/data/radicale/calendars/"; - }; - }; - }; - - users.users.radicale = { - isSystemUser = true; - group = "radicale"; - }; - users.groups.radicale = {}; - systemd.services.radicale.serviceConfig = { - DynamicUser = lib.mkForce false; - User = lib.mkForce "radicale"; - Group = lib.mkForce "radicale"; - ReadWritePaths = [ "/tank/data/radicale" ]; - }; - systemd.services.radicale.after = [ "zfs-mount.service" ]; - systemd.services.radicale.requires = [ "zfs.target" ]; - - users.users.git = { - isSystemUser = true; - group = "git"; - home = "/tank/data/git"; - createHome = true; - shell = "${pkgs.git}/bin/git-shell"; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBgQS9Y3yqztLL0Ss0JUCN04B6zgLXIETgY0jyvT6I98 jck@tiamat" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVbrjXliZECEFOLlgJ8vy+Qja1G+sY0LM+ijEgyP3HZ jck@vecna" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMGuvWTpRTumIOlnUHRBx5ZqjFi5qfezvLrpLAzB97nq jck@balduran" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILv193EUr7MN4CTtM0iYNl98f1VQxv95eY0hBQWSHxbi jck@shar" - ]; - }; - users.groups.git = {}; - - services.cgit."git.jckrinsky.net" = { - enable = true; - - user = "git"; - group = "git"; - - scanPath = "/tank/data/git"; - - settings = { - enable-index-owner = false; - enable-commit-graph = 1; - enable-log-filecount = 1; - enable-log-linecount = 1; - clone-url = "https://git.jckrinsky.net/$CGIT_REPO_URL ssh://git@git.jckrinsky.net:/tank/data/git/$CGIT_REPO_URL"; - source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; - about-filter = "${pkgs.cgit}/lib/cgit/filters/about-formatting.sh"; - }; - - gitHttpBackend = { - enable = true; - checkExportOkFiles = false; - }; - }; - - # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 80 443 22 ]; - networking.firewall = { - checkReversePath = "loose"; - trustedInterfaces = [ "mullvad" ]; - }; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "25.05"; # Did you read the comment? - -} diff --git a/hosts/shar/hardware-configuration.nix b/hosts/shar/hardware-configuration.nix deleted file mode 100644 index 32eed3f..0000000 --- a/hosts/shar/hardware-configuration.nix +++ /dev/null @@ -1,40 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/737de4e0-554e-4175-a454-677cf03dbada"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/8201-A778"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/429ba137-6ea4-43ba-97ff-e2c2206f935b"; } - ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.eno1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/tiamat/configuration.nix b/hosts/tiamat/configuration.nix deleted file mode 100644 index 3e39067..0000000 --- a/hosts/tiamat/configuration.nix +++ /dev/null @@ -1,172 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader = { - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; # ← use the same mount point here. - }; - grub = { - efiSupport = true; - device = "nodev"; - useOSProber = true; - theme = "${pkgs.fetchFromGitHub { # blue screen of life grub theme - owner = "scouckel"; - repo = "bsol"; - rev = "a8eedad9e7163dce230ca7886be8e1b4ef81da99"; - sha256 = "sha256-P2q73uM1Ysn1a+0mOGOvee/Q1WAYRGQvfanrasx/8r8"; - }}/bsol"; - }; - }; - - hardware.framework.enableKmod = false; - boot.kernelPackages = pkgs.linuxPackages_latest; - hardware.firmware = with pkgs; [ - linux-firmware - ]; - - hardware.graphics = { - enable = true; - enable32Bit = true; - }; - - system.name = "tiamat"; - networking.hostName = "tiamat"; - networking.nameservers = [ "100.100.100.100" "1.1.1.1" "9.9.9.9" ]; - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager = { - enable = true; - plugins = with pkgs; [ - networkmanager-openvpn - ]; - }; - - # Set your time zone. - # time.timeZone = "US/Central"; - services.automatic-timezoned.enable = true; - services.geoclue2 = { - enable = true; - geoProviderUrl = "https://api.beacondb.net/v1/geolocate"; - submitData = false; - enableWifi = true; - }; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.jck = { - isNormalUser = true; - description = "jck"; - extraGroups = [ "networkmanager" "wheel" ]; - shell = pkgs.fish; - }; - - nixpkgs.config.allowUnfree = true; - - services.thermald.enable = true; - - environment.systemPackages = [ pkgs.framework-tool ]; - - services.fwupd.enable = true; - - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; - }; - - environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ]; - - gaming.enable = true; - - client.nas.enable = true; - - services.kanata = { - enable = true; - keyboards.tkb = { - devices = [ - "dev/input/by-path/platform-i8042-serio-0-event-kbd" - ]; - config = " - (defsrc h j k l caps) - - (deflayer default _ _ _ _ @press) - (deflayer arrows left down up right @press) - - (defalias press - (tap-hold-press 200 200 esc (layer-while-held arrows)) - ) - "; - - extraDefCfg = " - process-unmapped-keys yes - "; - }; - }; - - -# services.udev.extraRules = '' -# SUBSYSTEM=="power_supply", ATTR{type}=="Mains", ACTION=="change", RUN+="${pkgs.writeShellScriptBin "refresh-rate-script" " -# if grep -q 1 /sys/class/power_supply/ACAD/online; then -# hyprctl keyword monitor 'eDP-1,2256x1504@60, 0x0, 1.5666667' -# else -# hyprctl keyword monitor 'eDP-1,2256x1504@30, 0x0, 1.5666667' -# fi"}/bin/refresh-rate-script" -# ''; - - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - security.polkit.enable = true; - services.playerctld.enable = true; - - services.openssh = { - enable = true; - settings.PermitRootLogin = "no"; - # PasswordAuthentication = true; - # allowSFTP = true; - }; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - system.stateVersion = "25.05"; -} diff --git a/hosts/tiamat/hardware-configuration.nix b/hosts/tiamat/hardware-configuration.nix deleted file mode 100644 index dee0ce0..0000000 --- a/hosts/tiamat/hardware-configuration.nix +++ /dev/null @@ -1,40 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "uas" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/0983bf69-0f71-4c49-885b-0b5c09a19429"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/756C-8B9B"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/50dd07e0-bf93-450c-a91b-aa73a18a8224"; } - ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/tiamat/home.nix b/hosts/tiamat/home.nix deleted file mode 100644 index 7e055d3..0000000 --- a/hosts/tiamat/home.nix +++ /dev/null @@ -1,92 +0,0 @@ -{ config, pkgs, ... }: - -{ - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "jck"; - home.homeDirectory = "/home/jck"; - - # This value determines the Home Manager release that your configuration is - # compatible with. This helps avoid breakage when a new Home Manager release - # introduces backwards incompatible changes. - # - # You should not change this value, even if you update Home Manager. If you do - # want to update the value, then make sure to first check the Home Manager - # release notes. - home.stateVersion = "25.05"; # Please read the comment before changing. - - # The home.packages option allows you to install Nix packages into your - # environment. - - # Home Manager is pretty good at managing dotfiles. The primary way to manage - # plain files is through 'home.file'. - home.file = { - # # Building this configuration will create a copy of 'dotfiles/screenrc' in - # # the Nix store. Activating the configuration will then make '~/.screenrc' a - # # symlink to the Nix store copy. - # ".screenrc".source = dotfiles/screenrc; - - # # You can also set the file content immediately. - # ".gradle/gradle.properties".text = '' - # org.gradle.console=verbose - # org.gradle.daemon.idletimeout=3600000 - # ''; - }; - - # Home Manager can also manage your environment variables through - # 'home.sessionVariables'. These will be explicitly sourced when using a - # shell provided by Home Manager. If you don't want to manage your shell - # through Home Manager then you have to manually source 'hm-session-vars.sh' - # located at either - # - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # /etc/profiles/per-user/jck/etc/profile.d/hm-session-vars.sh - # - home.sessionVariables = { - # EDITOR = "emacs"; - }; - - hyprland.enable = true; - gaming.enable = true; - - wayland.windowManager.hyprland.settings = { - monitor = [ - "eDP-1, 2880x1920@120, 0x0, 1.666666" - ]; - - workspace = [ - "1,monitor:eDP-1" - "2,monitor:eDP-1" - "3,monitor:eDP-1" - "4,monitor:eDP-1" - "5,monitor:eDP-1" - "6,monitor:eDP-1" - "7,monitor:eDP-1" - "8,monitor:eDP-1" - ]; - - misc = { - vrr = 1; - }; - }; - - programs.hyprlock.settings.auth = { - fingerprint.enabled = true; - fingerprint.present_message = "scanning finger"; - }; - - dconf.settings."org/gnome/desktop/interface" = { - color-scheme = "prefer-dark"; - }; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; -} - diff --git a/hosts/vecna/configuration.nix b/hosts/vecna/configuration.nix deleted file mode 100644 index a4870bf..0000000 --- a/hosts/vecna/configuration.nix +++ /dev/null @@ -1,154 +0,0 @@ -{ pkgs, lib, ... }: - -{ - imports = [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader = { - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; # ← use the same mount point here. - }; - grub = { - efiSupport = true; - device = "nodev"; - useOSProber = true; - theme = "${pkgs.fetchFromGitHub { # blue screen of life grub theme - owner = "scouckel"; - repo = "bsol"; - rev = "a8eedad9e7163dce230ca7886be8e1b4ef81da99"; - sha256 = "sha256-P2q73uM1Ysn1a+0mOGOvee/Q1WAYRGQvfanrasx/8r8"; - }}/bsol"; - entryOptions = "--class nixos"; - }; - }; - - boot.kernelPackages = pkgs.linuxPackages_latest; - # amd gpu config - hardware.graphics = { - enable = true; - enable32Bit = true; - extraPackages = with pkgs; [ - rocmPackages.clr.icd - libva - ]; - }; - - boot.initrd.availableKernelModules = [ "amdgpu" ]; - hardware.firmware = with pkgs; [ - linux-firmware - ]; - # boot.extraModprobeConfig = "options amdgpu ppfeaturemask=0xffffffff\n"; - hardware.amdgpu.overdrive.enable = true; - environment.systemPackages = with pkgs; [ lact ]; - systemd.packages = with pkgs; [ lact ]; - systemd.services.lactd.wantedBy = [ "multi-user.target" ]; - services.xserver.videoDrivers = [ "amdgpu" ]; - - hardware.cpu.amd.updateMicrocode = true; - zramSwap = { - enable = true; - priority = 100; - algorithm = "lz4"; - memoryPercent = 32; - }; - - # networking - system.name = "vecna"; - networking.hostName = "vecna"; - networking.networkmanager = { - enable = true; - plugins = with pkgs; [ - networkmanager-openvpn - ]; - dns = "none"; - }; - - networking.nameservers = [ "100.100.100.100" "1.1.1.1" "9.9.9.9" ]; - - # localization - time.timeZone = "US/Central"; - i18n.defaultLocale = "en_US.UTF-8"; - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - users.users.jck = { - isNormalUser = true; - description = "jck"; - extraGroups = [ "networkmanager" "wheel" ]; - shell = pkgs.fish; - }; - - nixpkgs.config.allowUnfree = true; - - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; - }; - - environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ]; - - gaming.enable = true; - - client.nas.enable = true; - - hardware.wooting.enable = true; - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - security.polkit.enable = true; - services.playerctld.enable = true; - - boot.kernel.sysctl = { - "vm.max_map_count" = 2147483642; - }; - - boot.kernelParams = [ - "amdgpu.noretry=0" - "amdgpu.mcbp=0" - "amdgpu.sg_display=0" - "amdgpu.gpu_recovery=1" - "iommu=soft" - "amdgpu.dcdebugmask=0x10" - "amdgpu.ppfeaturemask=0xfffd7fff" - ]; - - hardware.enableRedistributableFirmware = true; - - services.openssh = { - enable = true; - settings.PermitRootLogin = "no"; - # PasswordAuthentication = true; - # allowSFTP = true; - }; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - system.stateVersion = "25.05"; -} diff --git a/hosts/vecna/hardware-configuration.nix b/hosts/vecna/hardware-configuration.nix deleted file mode 100644 index adfd14f..0000000 --- a/hosts/vecna/hardware-configuration.nix +++ /dev/null @@ -1,42 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/a87c306e-d9dd-4c49-895b-b4245c4b13b8"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/3784-AD60"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/079d90c1-cf47-4684-9d73-20fa7c3bfb80"; } - ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.eno1.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp9s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/vecna/home.nix b/hosts/vecna/home.nix deleted file mode 100644 index 01556df..0000000 --- a/hosts/vecna/home.nix +++ /dev/null @@ -1,89 +0,0 @@ -{ config, pkgs, ... }: - -{ - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "jck"; - home.homeDirectory = "/home/jck"; - - # This value determines the Home Manager release that your configuration is - # compatible with. This helps avoid breakage when a new Home Manager release - # introduces backwards incompatible changes. - # - # You should not change this value, even if you update Home Manager. If you do - # want to update the value, then make sure to first check the Home Manager - # release notes. - home.stateVersion = "25.05"; # Please read the comment before changing. - - # The home.packages option allows you to install Nix packages into your - # environment. - - # Home Manager is pretty good at managing dotfiles. The primary way to manage - # plain files is through 'home.file'. - home.file = { - # # Building this configuration will create a copy of 'dotfiles/screenrc' in - # # the Nix store. Activating the configuration will then make '~/.screenrc' a - # # symlink to the Nix store copy. - # ".screenrc".source = dotfiles/screenrc; - - # # You can also set the file content immediately. - # ".gradle/gradle.properties".text = '' - # org.gradle.console=verbose - # org.gradle.daemon.idletimeout=3600000 - # ''; - }; - - # Home Manager can also manage your environment variables through - # 'home.sessionVariables'. These will be explicitly sourced when using a - # shell provided by Home Manager. If you don't want to manage your shell - # through Home Manager then you have to manually source 'hm-session-vars.sh' - # located at either - # - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # /etc/profiles/per-user/jck/etc/profile.d/hm-session-vars.sh - # - home.sessionVariables = { - # EDITOR = "emacs"; - }; - - hyprland.enable = true; - gaming.enable = true; - - wayland.windowManager.hyprland.settings = { - monitor = [ - "DP-3, 2560x1440@170.07100, 0x0, 1" - "HDMI-A-1, 1920x1080@74.97, -1920x150, 1" - ]; - - workspace = [ - "1,monitor:DP-3" - "2,monitor:DP-3" - "3,monitor:DP-3" - "4,monitor:DP-3" - "5,monitor:DP-3" - "6,monitor:HDMI-A-1" - "7,monitor:HDMI-A-1" - "8,monitor:HDMI-A-1" - "9,monitor:HDMI-A-1" - "10,monitor:HDMI-A-1" - ]; - - env = [ - "AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1" - ]; - }; - - dconf.settings."org/gnome/desktop/interface" = { - color-scheme = "prefer-dark"; - }; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; -} diff --git a/hosts/xanathar/configuration.nix b/hosts/xanathar/configuration.nix deleted file mode 100644 index 62e54df..0000000 --- a/hosts/xanathar/configuration.nix +++ /dev/null @@ -1,143 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader = { - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; # ← use the same mount point here. - }; - grub = { - efiSupport = true; - device = "nodev"; - useOSProber = true; - theme = "${pkgs.fetchFromGitHub { # blue screen of life grub theme - owner = "scouckel"; - repo = "bsol"; - rev = "a8eedad9e7163dce230ca7886be8e1b4ef81da99"; - sha256 = "sha256-P2q73uM1Ysn1a+0mOGOvee/Q1WAYRGQvfanrasx/8r8"; - }}/bsol"; - }; - }; - - boot.kernelPackages = pkgs.linuxPackages_latest; - hardware.firmware = with pkgs; [ - linux-firmware - ]; - - hardware.graphics = { - enable = true; - enable32Bit = true; - }; - - system.name = "xanathar"; - networking.hostName = "xanathar"; - networking.nameservers = [ "1.1.1.1" "9.9.9.9" ]; - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager = { - enable = true; - plugins = with pkgs; [ - networkmanager-openvpn - ]; - }; - - # Set your time zone. - time.timeZone = "US/Central"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.jck = { - isNormalUser = true; - description = "jck"; - extraGroups = [ "networkmanager" "wheel" ]; - }; - - nixpkgs.config.allowUnfree = true; - - services.thermald.enable = true; - - # services.logind = { - # lidSwitch = "poweroff"; - # lidSwitchExternalPower = "lock"; - # lidSwitchDocked = "ignore"; - # }; - - services.auto-cpufreq = { - enable = true; - settings = { - battery = { - governor = "powersave"; - turbo = "never"; - }; - charger = { - governor = "performance"; - turbo = "auto"; - }; - }; - }; - - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; - }; - - environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ]; - - gaming.enable = true; - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - security.polkit.enable = true; - services.playerctld.enable = true; - - services.openssh = { - enable = true; - settings.PermitRootLogin = "no"; - # PasswordAuthentication = true; - # allowSFTP = true; - }; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - system.stateVersion = "25.05"; -} diff --git a/hosts/xanathar/hardware-configuration.nix b/hosts/xanathar/hardware-configuration.nix deleted file mode 100644 index 43c4f6c..0000000 --- a/hosts/xanathar/hardware-configuration.nix +++ /dev/null @@ -1,40 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/3db16c90-b01b-4244-a249-74873f9a59e7"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A83C-AF90"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/ddbc5a19-f520-4538-8f7b-b6f5b709e8e9"; } - ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/xanathar/home.nix b/hosts/xanathar/home.nix deleted file mode 100644 index f47b01f..0000000 --- a/hosts/xanathar/home.nix +++ /dev/null @@ -1,86 +0,0 @@ -{ config, pkgs, ... }: - -{ - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "jck"; - home.homeDirectory = "/home/jck"; - - # This value determines the Home Manager release that your configuration is - # compatible with. This helps avoid breakage when a new Home Manager release - # introduces backwards incompatible changes. - # - # You should not change this value, even if you update Home Manager. If you do - # want to update the value, then make sure to first check the Home Manager - # release notes. - home.stateVersion = "25.05"; # Please read the comment before changing. - - # The home.packages option allows you to install Nix packages into your - # environment. - - # Home Manager is pretty good at managing dotfiles. The primary way to manage - # plain files is through 'home.file'. - home.file = { - # # Building this configuration will create a copy of 'dotfiles/screenrc' in - # # the Nix store. Activating the configuration will then make '~/.screenrc' a - # # symlink to the Nix store copy. - # ".screenrc".source = dotfiles/screenrc; - - # # You can also set the file content immediately. - # ".gradle/gradle.properties".text = '' - # org.gradle.console=verbose - # org.gradle.daemon.idletimeout=3600000 - # ''; - }; - - # Home Manager can also manage your environment variables through - # 'home.sessionVariables'. These will be explicitly sourced when using a - # shell provided by Home Manager. If you don't want to manage your shell - # through Home Manager then you have to manually source 'hm-session-vars.sh' - # located at either - # - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # /etc/profiles/per-user/jck/etc/profile.d/hm-session-vars.sh - # - home.sessionVariables = { - # EDITOR = "emacs"; - }; - - hyprland.enable = true; - gaming.enable = true; - - wayland.windowManager.hyprland.settings = { - monitor = [ - "eDP-1, 1920x1080@40, 0x0, 1" - ]; - - workspace = [ - "1,monitor:eDP-1" - "2,monitor:eDP-1" - "3,monitor:eDP-1" - "4,monitor:eDP-1" - "5,monitor:eDP-1" - "6,monitor:eDP-1" - "7,monitor:eDP-1" - "8,monitor:eDP-1" - ]; - - misc = { - vrr = 1; - }; - }; - - dconf.settings."org/gnome/desktop/interface" = { - color-scheme = "prefer-dark"; - }; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; -} diff --git a/old-flake.nix b/old-flake.nix deleted file mode 100644 index 44e1941..0000000 --- a/old-flake.nix +++ /dev/null @@ -1,143 +0,0 @@ -{ - description = "scouckel config flake"; - - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest"; - home-manager = { - url = "github:nix-community/home-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - nur = { - url = "github:nix-community/NUR"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - zen-browser = { - url = "github:0xc000022070/zen-browser-flake"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - spicetify.url = "github:Gerg-L/spicetify-nix"; - auto-cpufreq = { - url = "github:AdnanHodzic/auto-cpufreq"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - nixos-hardware.url = "github:NixOS/nixos-hardware/master"; - nvf = { - url = "github:NotAShelf/nvf"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - nordvpn-flake.url = "github:scouckel/nordvpn-flake"; - mango = { - url = "github:DreamMaoMao/mango"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - - outputs = { nixpkgs, home-manager, nix-flatpak, nur, auto-cpufreq, nixos-hardware, nordvpn-flake, ... }@inputs: { - nixosConfigurations = { - # desktop - vecna = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [ - ./hosts/vecna/configuration.nix - ./modules/nixos - nix-flatpak.nixosModules.nix-flatpak - home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.jck = { - imports = [ - ./hosts/vecna/home.nix - ./modules/home-manager - inputs.nvf.homeManagerModules.default - inputs.mango.hmModules.mango - ]; - }; - home-manager.extraSpecialArgs = {inherit inputs;}; - } - nur.modules.nixos.default - nordvpn-flake.nixosModules.nordvpn-flake - ]; - }; - # laptop - xanathar = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [ - ./hosts/xanathar/configuration.nix - ./modules/nixos - nix-flatpak.nixosModules.nix-flatpak - home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.jck = { - imports = [ - ./hosts/xanathar/home.nix - ./modules/home-manager - inputs.nvf.homeManagerModules.default - ]; - }; - home-manager.extraSpecialArgs = {inherit inputs;}; - } - nur.modules.nixos.default - auto-cpufreq.nixosModules.default - nordvpn-flake.nixosModules.nordvpn-flake - ]; - }; - # new laptop - tiamat = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [ - ./hosts/tiamat/configuration.nix - ./modules/nixos - nix-flatpak.nixosModules.nix-flatpak - home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.jck = { - imports = [ - ./hosts/tiamat/home.nix - ./modules/home-manager - inputs.nvf.homeManagerModules.default - ]; - }; - home-manager.extraSpecialArgs = {inherit inputs;}; - } - nur.modules.nixos.default - auto-cpufreq.nixosModules.default - nixos-hardware.nixosModules.framework-13-7040-amd - nordvpn-flake.nixosModules.nordvpn-flake - ]; - }; - generic = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [ - ./hosts/generic/configuration.nix - /etc/nixos/hardware-configuration.nix - ./modules/nixos - nix-flatpak.nixosModules.nix-flatpak - home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.jck = { - imports = [ - ./hosts/generic/home.nix - ./modules/home-manager - inputs.nvf.homeManagerModules.default - ]; - }; - home-manager.extraSpecialArgs = {inherit inputs;}; - } - nur.modules.nixos.default - nordvpn-flake.nixosModules.nordvpn-flake - ]; - }; - shar = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [ - ./hosts/shar/configuration.nix - ./hosts/shar/hardware-configuration.nix - ]; - }; - }; - }; -} diff --git a/unmoved-modules/home-manager/default.nix b/unmoved-modules/home-manager/default.nix deleted file mode 100644 index 7b91f74..0000000 --- a/unmoved-modules/home-manager/default.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ pkgs, lib, config, inputs, ... }: - -{ - imports = [ - ./hypr - #./mangowc - ./git.nix - # ./vscodium.nix - ./kitty.nix - ./zen-browser.nix - ./obs.nix - # ./spicetify.nix - ./yazi.nix - ./fastfetch.nix - ./gaming.nix - # ./rbw.nix - ./nvf.nix - ./lazygit.nix - ./spotify-player.nix - ]; - - home.packages = with pkgs; [ - dconf - bitwarden-desktop - hyprshot - wineWow64Packages.stable - winetricks - motrix - flashprint - gvfs - brave - hyprpicker - discord - openvpn - qbittorrent - zoom-us - obsidian - cryptomator - networkmanagerapplet - libreoffice - gimp3 - vlc - ungoogled-chromium - audacity - speedtest-cli - kid3 - feishin - bluetui - btop - openjdk - thunderbird - ]; - - home.sessionVariables = { - EDITOR = "vi"; - VISUAL = "vi"; - }; - - xdg.configFile."mimeapps.list".force = true; - - xdg.mimeApps = { - enable = true; - - defaultApplications = { - "application/pdf" = "zen-twilight.desktop"; - "application/javascript" = "userapp-kitty vi-DARLE3.desktop"; - "application/toml" = "userapp-kitty vi-DARLE3.desktop"; - "application/vnd.microsoft.portable-executable" = "wine-desktop"; - "application/zip" = "lxqt-archiver.desktop"; - "inode/directory" = "userapp-kitty yazi-X3BEF3.desktop"; - "text/html" = "zen-twilight.desktop"; - "text/plain" = "userapp-kitty vi-DARLE3.desktop"; - "x-scheme-handler/about" = "zen-twilight.desktop"; - "x-scheme-handler/http" = "zen-twilight.desktop"; - "x-scheme-handler/https" = "zen-twilight.desktop"; - "x-scheme-handler/unknown" = "zen-twilight.desktop"; - }; - }; -} diff --git a/unmoved-modules/home-manager/fastfetch-logo.txt b/unmoved-modules/home-manager/fastfetch-logo.txt deleted file mode 100644 index b3bc376..0000000 --- a/unmoved-modules/home-manager/fastfetch-logo.txt +++ /dev/null @@ -1,17 +0,0 @@ - * * - * * * - * * * * * - * * * * * - * * * * * * * - * * * * * .# * * - * * * #. .# * * - * "#. #: #" * * * - * * * "#. ##" * - * "### - "## - ##. - .##: - :### - ;### - ,####. -/\/\/\/\/\/.######.\/\/\/\/\ diff --git a/unmoved-modules/home-manager/fastfetch.nix b/unmoved-modules/home-manager/fastfetch.nix deleted file mode 100644 index 74f0820..0000000 --- a/unmoved-modules/home-manager/fastfetch.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ - programs.fastfetch = { - enable = true; - - settings = { - logo = { - source = ./fastfetch-logo.txt; # ascii art by Joan G. Stark - padding = { - right = 2; - left = 1; - top = 2; - }; - color = { - "1" = "bright_green"; - }; - }; - - display = { - color = "bright_green"; - }; - - modules = [ - "title" - "separator" - { - type = "datetime"; - key = "Date"; - format = "{weekday}, {year}-{month-pretty}-{day-in-month}"; - } - { - type = "datetime"; - key = "Time"; - format = "{hour-pretty}:{minute-pretty}:{second-pretty}, {timezone-name}, UTC{offset-from-utc}"; - } - "uptime" - { - type = "battery"; - key = "Battery"; - format = "{capacity}, {time-formatted} [{status}]"; - } - "separator" - "os" - "host" - "kernel" - "packages" - "shell" - "display" - "wm" - "separator" - "cpu" - "gpu" - "memory" - "swap" - "disk" - "localip" - "break" - "colors" - ]; - }; - }; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/gaming.nix b/unmoved-modules/home-manager/gaming.nix deleted file mode 100644 index 3222fc2..0000000 --- a/unmoved-modules/home-manager/gaming.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - options = { - gaming.enable = lib.mkEnableOption "enables gaming module"; - }; - - config = lib.mkIf config.gaming.enable { - home.packages = [ - pkgs.prismlauncher - pkgs.cemu - pkgs.ryubing - ]; - - programs.lutris = { - enable = true; - runners = { - cemu.package = pkgs.cemu; - ryujinx.package = pkgs.ryubing; - }; - steamPackage = pkgs.steam; - winePackages = with pkgs.wineWow64Packages; [ - stable - ]; - extraPackages = with pkgs; [ - gamemode - umu-launcher - winetricks - mangohud - gamescope - ]; - protonPackages = with pkgs; [ - proton-ge-bin - ]; - }; - }; -} diff --git a/unmoved-modules/home-manager/git.nix b/unmoved-modules/home-manager/git.nix deleted file mode 100644 index 7216282..0000000 --- a/unmoved-modules/home-manager/git.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - programs.git = { - enable = true; - settings = { - init.defaultBranch = "main"; - safe.directory = "/etc/nixos"; - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/autostart.nix b/unmoved-modules/home-manager/hypr/autostart.nix deleted file mode 100644 index 048afcc..0000000 --- a/unmoved-modules/home-manager/hypr/autostart.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, lib, inputs, ... }: - -# very broken, fix later - -{ - config = lib.mkIf config.hyprland.enable { - wayland.windowManager.hyprland.settings = { - exec-once = [ - "[workspace 1 silent] zen-browser" - "[workspace 7 silent] equibop" - ]; - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/binds.nix b/unmoved-modules/home-manager/hypr/binds.nix deleted file mode 100644 index 00cc3ce..0000000 --- a/unmoved-modules/home-manager/hypr/binds.nix +++ /dev/null @@ -1,94 +0,0 @@ -{ config, lib, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - wayland.windowManager.hyprland.settings.binds = { - "$mod" = "SUPER"; - "$term" = "kitty"; - "$filem" = "kitty yazi"; - - bind = [ - "$mod SHIFT, K, exec, hyprlock" - "$mod, P, exec, hyprpicker" - # "$mod, RETURN, exec, pypr toggle kitty" - - "$mod, F1, exec, rofi -show drun" - "$mod, F2, exec, $term" - "$mod, F3, exec, $filem" - "$mod, F4, killactive," - "$mod SHIFT, F4, exec, hyprctl kill" - - "$mod, F, fullscreen" - "$mod, T, togglefloating" - - "$mod, 1, workspace, 1" - "$mod, 2, workspace, 2" - "$mod, 3, workspace, 3" - "$mod, 4, workspace, 4" - "$mod, 5, workspace, 5" - "$mod, 6, workspace, 6" - "$mod, 7, workspace, 7" - "$mod, 8, workspace, 8" - "$mod, 9, workspace, 9" - "$mod, 0, workspace, 10" - - "$mod SHIFT, 1, movetoworkspace, 1" - "$mod SHIFT, 2, movetoworkspace, 2" - "$mod SHIFT, 3, movetoworkspace, 3" - "$mod SHIFT, 4, movetoworkspace, 4" - "$mod SHIFT, 5, movetoworkspace, 5" - "$mod SHIFT, 6, movetoworkspace, 6" - "$mod SHIFT, 7, movetoworkspace, 7" - "$mod SHIFT, 8, movetoworkspace, 8" - "$mod SHIFT, 9, movetoworkspace, 9" - "$mod SHIFT, 0, movetoworkspace, 10" - - "$mod, H, movefocus, l" - "$mod, J, movefocus, d" - "$mod, K, movefocus, u" - "$mod, L, movefocus, r" - - "$mod SHIFT, c, exec, xsel -bc" - - "$mod, C, exec, rofi -show calc" - - ", PRINT, exec, hyprshot -m region -o ~/Documents/screenshots" - "SHIFT, PRINT, exec, hyprshot -m region --clipboard-only" - - "$mod SHIFT CTRL ALT, L, exec, xdg-open https://linkedin.com" # important bind - ]; - - bindm = [ - "$mod, mouse:272, movewindow" - "$mod, mouse:273, resizewindow" - "$mod SHIFT, mouse:272, resizewindow" - ]; - - bindl = [ - ", XF86AudioPrev, exec, playerctl --player=Feishin previous" - ", XF86AudioNext, exec, playerctl --player=Feishin next" - ", XF86AudioPause, exec, playerctl --player=Feishin play-pause" - ", XF86AudioPlay, exec, playerctl --player=Feishin play-pause" - "$mod, XF86AudioPrev, exec, playerctl --player=Feishin loop none" - "$mod, XF86AudioPause, exec, playerctl --player=Feishin loop playlist" - "$mod, XF86AudioPlay, exec, playerctl --player=Feishin loop playlist" - "$mod, XF86AudioNext, exec, playerctl --player=Feishin loop track" - "$mod, XF86AudioStop, exec, playerctl --player=Feishin shuffle toggle" - ", XF86AudioStop, exec, playerctl -a stop" - - "$mod SHIFT, L, exec, hyprctl dispatch dpms toggle" - ",switch:Lid Switch, exec, pidof hyprlock || hyprlock" - - "$mod, M, exit," - ]; - - bindel = [ - "$mod,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" - "$mod,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" - ",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" - ", XF86MonBrightnessUp, exec, brightnessctl set 10%+" - ", XF86MonBrightnessDown, exec, brightnessctl set 10%-" - ]; - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/camdenyards.jpg b/unmoved-modules/home-manager/hypr/camdenyards.jpg deleted file mode 100644 index 4601318..0000000 Binary files a/unmoved-modules/home-manager/hypr/camdenyards.jpg and /dev/null differ diff --git a/unmoved-modules/home-manager/hypr/decoration.nix b/unmoved-modules/home-manager/hypr/decoration.nix deleted file mode 100644 index e9d5dfe..0000000 --- a/unmoved-modules/home-manager/hypr/decoration.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ config, lib, inputs, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - wayland.windowManager.hyprland.settings = { - decoration = { - rounding = 0; - }; - - animations = { - enabled = false; - }; - - workspace = [ - "w[tv1], gapsout:0, gapsin:0" - "f[1], gapsout:0, gapsin:0" - ]; - - windowrule = [ - "border_size 0, match:float 0, match:workspace w[tv1]" - "rounding 0, match:float 0, match:workspace w[tv1]" - "border_size 0, match:float 0, match:workspace f[1]" - "rounding 0, match:float 0, match:workspace f[1]" - ]; - - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/default.nix b/unmoved-modules/home-manager/hypr/default.nix deleted file mode 100644 index 2ec9301..0000000 --- a/unmoved-modules/home-manager/hypr/default.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - options = { - hyprland.enable = lib.mkEnableOption "enables hyprland"; - }; - - imports = [ - ./decoration.nix - ./binds.nix - ./input.nix - ./waybar-hyprland.nix - ./hyprlock.nix - ./hypridle.nix - ./hyprpaper.nix - ./rofi-hyprland.nix - ]; - - config = lib.mkIf config.hyprland.enable { - #fixing issues - - xdg.portal = { - enable = true; - - config = { - common = { - default = [ "hyprland" ]; - }; - }; - - extraPortals = with pkgs; [ - xdg-desktop-portal-hyprland - ]; - }; - - home.packages = with pkgs; [ - # pyprland - ]; - - home.file.".config/hypr/pyprland.toml".source = ./pyprland.toml; - - home.sessionVariables.NIXOS_OZONE_WL = "1"; - - home.pointerCursor = { - gtk.enable = true; - # x11.enable = true; - package = pkgs.bibata-cursors; - name = "Bibata-Modern-Classic"; - size = 12; - }; - - gtk = { - enable = true; - - theme = { - package = pkgs.flat-remix-gtk; - name = "Flat-Remix-GTK-Grey-Darkest"; - }; - - iconTheme = { - package = pkgs.adwaita-icon-theme; - name = "Adwaita"; - }; - - font = { - name = "Sans"; - size = 11; - }; - - gtk3.extraConfig = { - gtk-application-prefer-dark-theme = true; - }; - - gtk4.extraConfig = { - gtk-application-prefer-dark-theme = true; - }; - }; - - wayland.windowManager.hyprland.systemd.variables = ["--all"]; - - # ok now actually hyprland - - wayland.windowManager.hyprland = { - enable = true; - xwayland.enable = true; - - settings = { - exec-once = [ - "lxqt-policykit-agent" - "waybar" - "hyprpaper" - "waypaper --restore" - # "pypr" - ]; - - # environment variables - env = [ - "XCURSOR_SIZE,24" - "HYPRCURSOR_SIZE,24" - ]; - - general = { - gaps_in = 0; - gaps_out = 0; - - border_size = 1; - - # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - "col.active_border" = "rgba(7DAeA3ee) rgba(89B482ee) 45deg"; - "col.inactive_border" = "rgba(504945ee)"; - - # Set to true enable resizing windows by clicking and dragging on borders and gaps - resize_on_border = false; - - # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on - allow_tearing = false; - - layout = "dwindle"; - }; - - misc = { - force_default_wallpaper = 1; - disable_hyprland_logo = false; - vfr = true; - }; - - dwindle = { - pseudotile = true; - preserve_split = true; - }; - }; - - extraConfig = " - xwayland { - force_zero_scaling = true; - } - "; - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/hypridle.nix b/unmoved-modules/home-manager/hypr/hypridle.nix deleted file mode 100644 index 3f575a0..0000000 --- a/unmoved-modules/home-manager/hypr/hypridle.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ config, lib, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - services.hypridle = { - enable = true; - - settings = { - general = { - lock_cmd = "pidof hyprlock || hyprlock"; - }; - - listener = [ - { - timeout = 300; - on-timeout = "hyprlock"; - } - { - timeout = 3600; - on-timeout = "hyprctl dispatch dpms off"; - } - ]; - }; - }; - }; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/hypr/hyprlock.nix b/unmoved-modules/home-manager/hypr/hyprlock.nix deleted file mode 100644 index 675773a..0000000 --- a/unmoved-modules/home-manager/hypr/hyprlock.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ pkgs, lib, config, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - programs.hyprlock = { - enable = true; - - settings = { - general = { - disable_loading_bar = false; - hide_cursor = false; - no_fade_in = true; - }; - - background = [ - { - path = "screenshot"; - # path = ~/.config/hypr/wallpaper_effects/.wallpaper_current; - blur_passes = 5; - blur_size = 7; - } - ]; - - input-field = [ - { - size = "200, 50"; - position = "0, 0"; - fade_on_empty = true; - font_color = "rgb(212, 190, 152)"; - inner_color = "rgb(29, 32, 33)"; - outer_color = "rgb(125, 174, 163)"; - outline_thickness = 2; - rounding = 0; - placeholder_text = ""; - } - ]; - - animations = [ - { - enabled = false; - } - ]; - }; - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/hyprpaper.nix b/unmoved-modules/home-manager/hypr/hyprpaper.nix deleted file mode 100644 index 2223e9a..0000000 --- a/unmoved-modules/home-manager/hypr/hyprpaper.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ pkgs, lib, config, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - home.packages = [ - pkgs.hyprpaper - pkgs.waypaper - ]; - - services.hyprpaper = { - enable = true; - - settings = { - ipc = "on"; - splash = false; - - wallpaper = [ - { - monitor = ""; - path = "~/nixosconf/modules/home-manager/hypr/camdenyards.jpg"; - } - ]; - }; - }; - }; -} diff --git a/unmoved-modules/home-manager/hypr/input.nix b/unmoved-modules/home-manager/hypr/input.nix deleted file mode 100644 index 09fdb3e..0000000 --- a/unmoved-modules/home-manager/hypr/input.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ config, lib, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - wayland.windowManager.hyprland = { - settings = { - input = { - touchpad = { - natural_scroll = true; - }; - accel_profile = "flat"; - }; - gesture = [ - "3, horizontal, workspace," - ]; - - device = [ - { # xanathar touchpad - name = "syna32ce:00-06cb:ce17-touchpad"; - sensitivity = 0; - } - { # vecna mouse - name = "razer-razer-deathadder-v2-x-hyperspeed-1"; - sensitivity = -0.35; - } - { # vecna mouse depending on how it's feeling - name = "razer-razer-deathadder-v2-x-hyperspeed"; - sensitivity = -0.35; - } - { # i can't believe its this finnicky - name = "razer-razer-deathadder-v2-x-hyperspeed-mouse"; - sensitivity = -0.35; - } - ]; - }; - }; - }; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/hypr/pyprland.toml b/unmoved-modules/home-manager/hypr/pyprland.toml deleted file mode 100644 index 62227e9..0000000 --- a/unmoved-modules/home-manager/hypr/pyprland.toml +++ /dev/null @@ -1,12 +0,0 @@ -[pyprland] -plugins = [ - "scratchpads" -] - -[scratchpads.kitty] -unfocus = "hide" -command = "kitty --class kitty-dropterm" -class = "kitty-dropterm" -size = "75% 60%" -max_size = "1920px 100%" -lazy = true \ No newline at end of file diff --git a/unmoved-modules/home-manager/hypr/rofi-hyprland.nix b/unmoved-modules/home-manager/hypr/rofi-hyprland.nix deleted file mode 100644 index e3644f9..0000000 --- a/unmoved-modules/home-manager/hypr/rofi-hyprland.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs, lib, ... }: - -{ - programs.rofi = { - enable = true; - package = pkgs.rofi; - theme = "gruvbox-dark-hard"; - font = "JetBrains Mono 13"; - - plugins = with pkgs; [ - rofi-calc - # rofi-vpn - ]; - modes = [ - "calc" - "window" - # { - # name = "vpn"; - # path = lib.getExe pkgs.rofi-vpn; - # } - ]; - }; -} diff --git a/unmoved-modules/home-manager/hypr/swaync.nix b/unmoved-modules/home-manager/hypr/swaync.nix deleted file mode 100644 index dc857a7..0000000 --- a/unmoved-modules/home-manager/hypr/swaync.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, lib, ... }: - -{ - config = lib.mkIf config.hyprland.enable { - services.swaync = { - enable = true; - - settings = { - - }; - }; - }; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/hypr/waybar-hyprland.nix b/unmoved-modules/home-manager/hypr/waybar-hyprland.nix deleted file mode 100644 index eed22c6..0000000 --- a/unmoved-modules/home-manager/hypr/waybar-hyprland.nix +++ /dev/null @@ -1,128 +0,0 @@ -{ pkgs, ... }: - -{ - programs.waybar = { - enable = true; - - settings = { - mainBar = { - layer = "top"; - position = "top"; - height = 30; - - modules-left = [ "hyprland/workspaces" "idle_inhibitor" ]; - modules-center = [ "hyprland/window" ]; - modules-right = [ "custom/feishin" "pulseaudio" "battery" "clock" ]; - - battery = { - interval = 60; - format = "{capacity}% {icon}"; - format-charging = "{capacity}% {icon}"; - format-icons = [" " " " " " " " " "]; - max-length = 25; - }; - - clock = { - format = "{:%H:%M}"; - tooltip = true; - tooltip-format = "{:%a, %b %d\nDay %j, Week %U\n%Z, UTC%z}"; - }; - - "hyprland/window" = { - format = "{initialClass}"; - on-click = "rofi -show window"; - max-length = 25; - }; - - idle_inhibitor = { - format = "{icon}"; - format-icons = { - activated = " "; - deactivated = " "; - }; - }; - - pulseaudio = { - format = "{volume}% {icon}"; - format-bluetooth = "{volume}% {icon}"; - format-muted = ""; - format-icons = { - default = [" " " "]; - }; - }; - - "custom/feishin" = { - format = "{}"; - escape = true; - exec-if = "pgrep -f 'feishin'"; - interval = 1; - on-click = "playerctl --player=,Feishin play-pause"; - on-click-right = "playerctl --player=,Feishin loop track"; - on-double-click-right = "playerctl --player=,Feishin loop playlist"; - on-click-middle = "playerctl --player=,Feishin shuffle toggle"; - on-scroll-up = "playerctl --player=,Feishin next"; - on-scroll-down = "playerctl --player=,Feishin previous"; - exec = "${pkgs.writeShellScriptBin "feishin-module-script" '' - shorten() { - if [ ''${#1} -le 24 ]; then - printf "%s" "$1" - else - local truncated="''${1:0:21}" - if [ "''${truncated: -1}" = " " ]; then - truncated="''${truncated:0:20}" - fi - printf "%s…" "$truncated" - fi - } - - player_status=$(playerctl --player=,Feishin status 2> /dev/null) - artist="$(shorten "$(playerctl --player=,Feishin metadata artist)")" - title="$(shorten "$(playerctl --player=,Feishin metadata title)")" - info="$artist - $title" - - if [ "$(playerctl --player=,Feishin shuffle)" = "On" ]; then - info="$info  " - fi - - if [ "$player_status" != "Playing" ]; then - info="$info  " - fi - - if [ "$(playerctl --player=,Feishin loop)" = "Track" ]; then - info="$info 󱍸 " - fi - - echo "$info  " - ''}/bin/feishin-module-script"; - }; - }; - }; - - style = '' - *{ - border: none; - border-radius: 0; - font-family: "JetBrains Mono" - } - - window#waybar { - background: #141617; - color: #D4BE98; - } - - label.module { - padding: 0 15px; - } - - #workspaces button { - background: #141617; - color: #D4BE98; - } - - #workspaces button active { - background: #D4BE98; - color: #141617; - } - ''; - }; -} diff --git a/unmoved-modules/home-manager/kitty.nix b/unmoved-modules/home-manager/kitty.nix deleted file mode 100644 index 1f44982..0000000 --- a/unmoved-modules/home-manager/kitty.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs, ... }: - -{ - programs.kitty = { - enable = true; - - enableGitIntegration = true; - font = { - package = pkgs.jetbrains-mono; - name = "Jetbrains Mono"; - size = 10; - }; - - shellIntegration.enableFishIntegration = true; - - themeFile = "GruvboxMaterialDarkHard"; - - settings = { - confirm_os_window_close = 0; - shell = "${pkgs.fish}/bin/fish"; - }; - }; -} diff --git a/unmoved-modules/home-manager/lazygit.nix b/unmoved-modules/home-manager/lazygit.nix deleted file mode 100644 index e2f9018..0000000 --- a/unmoved-modules/home-manager/lazygit.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - programs.lazygit = { - enable = true; - settings = { - gui.theme = { - #lightTheme = true; - #activeBorderColor = [ "blue" "bold" ]; - #inactiveBorderColor = [ "black" ]; - #selectedLineBgColor = [ "default" ]; - }; - }; - }; -} diff --git a/unmoved-modules/home-manager/mangowc/default.nix b/unmoved-modules/home-manager/mangowc/default.nix deleted file mode 100644 index 85f86eb..0000000 --- a/unmoved-modules/home-manager/mangowc/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ pkgs, ... }: - -{ - wayland.windowManager.mango = { - enable = true; - - settings = '' - animations=1 - layer_animations=1 - - borderpx=1 - gappih=0 - gappiv=0 - gappoh=0 - gappov=0 - smartgaps=0 - - tagrule=id:1,layout_name=scroller - tagrule=id:2,layout_name=tile - tagrule=id:3,layout_name=tile - tagrule=id:4,layout_name=tile - tagrule=id:5,layout_name=tile - tagrule=id:6,layout_name=tile - tagrule=id:7,layout_name=tile - tagrule=id:8,layout_name=tile - tagrule=id:9,layout_name=tile - tagrule=id:10,layout_name=tile - - bind=Super+Shift,1,tagsilent,1 - bind=Super+Shift,2,tagsilent,2 - bind=Super+Shift,3,tagsilent,3 - bind=Super+Shift,4,tagsilent,4 - bind=Super+Shift,5,tagsilent,5 - bind=Super+Shift,6,tagsilent,6 - bind=Super+Shift,7,tagsilent,7 - bind=Super+Shift,8,tagsilent,8 - bind=Super+Shift,9,tagsilent,9 - bind=Super+Shift,10,tagsilent,10 - - bind=Super,F1,spawn,rofi -show drun - bind=Super,F2,spawn,kitty - bind=Super,F3,spawn_shell,kitty yazi - bind=Super,F4,killclient - bind=Super,m,quit - - bind=Super,1,view,1 - bind=Super,2,view,2 - bind=Super,3,view,3 - bind=Super,4,view,4 - bind=Super,5,view,5 - bind=Super,6,view,6 - bind=Super,7,view,7 - bind=Super,8,view,8 - bind=Super,9,view,9 - bind=Super,10,view,10 - - bind=Super,n,switch_layout - - mousebind=SUPER,btn_left,moveresize,curmove - mousebind=SUPER,btn_right,moveresize,curresize - - accel_profile=1 - accel_speed=-0.35 - ''; - }; -} diff --git a/unmoved-modules/home-manager/nvf.nix b/unmoved-modules/home-manager/nvf.nix deleted file mode 100644 index 7a2980e..0000000 --- a/unmoved-modules/home-manager/nvf.nix +++ /dev/null @@ -1,116 +0,0 @@ -{ pkgs, lib, ... }: - -{ - programs.nvf = { - enable = true; - - settings.vim = { - viAlias = true; - vimAlias = true; - - lineNumberMode = "relNumber"; - - options = { - tabstop = lib.mkDefault 2; - shiftwidth = 0; - termguicolors = true; - }; - - keymaps = [ - { - key = "w"; - mode = "n"; - silent = true; - action = ":w"; - } - { - key = "x"; - mode = "n"; - silent = true; - action = ":wq"; - } - { - key = "ff"; - mode = "n"; - silent = true; - action = ":Telescope find_files"; - } - { - key = ""; - mode = "n"; - silent = true; - action = "zz"; - } - { - key = ""; - mode = "n"; - silent = true; - action = "zz"; - } - { - key = "n"; - mode = "n"; - silent = true; - action = ":noh"; - } - ]; - - lsp = { - enable = true; - servers.nixd.settings.nil.nix.autoArchive = true; - }; - - languages = { - enableTreesitter = true; - - nix.enable = true; - clang.enable = true; - rust.enable = true; - ruby.enable = true; - java.enable = true; - }; - - treesitter = { - enable = true; - # context.enable = true; - highlight.enable = true; - }; - - telescope.enable = true; - - utility = { - motion = { - # hop.enable = true; - # leap.enable = true; - precognition.enable = true; - }; - }; - - visuals = { - rainbow-delimiters.enable = true; - }; - - extraPlugins = { - gruvbox-material = { - package = pkgs.vimPlugins.gruvbox-material; - setup = '' - vim.o.background = "dark" - vim.g.gruvbox_material_background = "hard" - vim.cmd("colorscheme gruvbox-material") - ''; - }; - }; - - autocmds = [ - { - event = [ "InsertEnter" ]; - command = "set norelativenumber"; - } - { - event = [ "InsertLeave" ]; - command = "set relativenumber"; - } - ]; - }; - }; -} diff --git a/unmoved-modules/home-manager/obs.nix b/unmoved-modules/home-manager/obs.nix deleted file mode 100644 index 8798b54..0000000 --- a/unmoved-modules/home-manager/obs.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: - -{ - programs.obs-studio = { - enable = true; - - plugins = with pkgs.obs-studio-plugins; [ - input-overlay - obs-pipewire-audio-capture - ]; - }; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/rbw.nix b/unmoved-modules/home-manager/rbw.nix deleted file mode 100644 index 50ca563..0000000 --- a/unmoved-modules/home-manager/rbw.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, ... }: - -{ - programs.rbw = { - enable = true; - settings = { - email = "james.krinsky@gmail.com"; - pinentry = pkgs.pinentry-qt; - base_url = "https://vault.bitwarden.com"; - identity_url = "https://identity.bitwarden.com"; - ui_url = "https://vault.bitwarden.com"; - }; - }; - - home.packages = [ - pkgs.pinentry-qt - pkgs.rofi-rbw - ]; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/spicetify.nix b/unmoved-modules/home-manager/spicetify.nix deleted file mode 100644 index 4b54e6a..0000000 --- a/unmoved-modules/home-manager/spicetify.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ pkgs, inputs, ... }: - -{ - imports = [ - inputs.spicetify.homeManagerModules.default - ]; - - programs.spicetify = - let - spicepkgs = inputs.spicetify.legacyPackages.${pkgs.system}; - in - { - enable = true; - # theme = spicepkgs.themes.sleek; - # colorScheme = "Deep"; - - enabledExtensions = with spicepkgs.extensions; [ - shuffle - ]; - enabledCustomApps = with spicepkgs.apps; [ - - ]; - enabledSnippets = with spicepkgs.snippets; [ - - ]; - }; -} diff --git a/unmoved-modules/home-manager/spotify-player.nix b/unmoved-modules/home-manager/spotify-player.nix deleted file mode 100644 index 0af16d8..0000000 --- a/unmoved-modules/home-manager/spotify-player.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ - programs.spotify-player = { - enable = true; - - - }; -} diff --git a/unmoved-modules/home-manager/vscodium.nix b/unmoved-modules/home-manager/vscodium.nix deleted file mode 100644 index 2ea2baf..0000000 --- a/unmoved-modules/home-manager/vscodium.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - programs.vscode = { - enable = true; - package = pkgs.vscodium; - - profiles.default = { - userSettings = { - "workbench.colorTheme" = "Gruvbox Dark Hard"; - "editor.fontFamily" = "JetBrains Mono"; - "editor.fontSize" = 12; - "editor.fontLigatures" = true; - "vim.smartRelativeLine" = true; - "editor.lineNumbers" = "relative"; - "editor.cursorSmoothCaretAnimation" = "on"; - "editor.wordWrap" = "on"; - "editor.bracketPairColorization.enabled" = true; - }; - - extensions = with pkgs.vscode-extensions; [ - # languages - jnoortheen.nix-ide - tomoki1207.pdf - redhat.vscode-yaml - tamasfe.even-better-toml - redhat.java - rust-lang.rust-analyzer - shopify.ruby-lsp - - # functionality extensions - wix.vscode-import-cost - ms-vscode-remote.remote-ssh - ms-vscode-remote.remote-ssh-edit - vscodevim.vim - alefragnani.project-manager - esbenp.prettier-vscode - - # appearance extensions - mechatroner.rainbow-csv - vscode-icons-team.vscode-icons - jdinhlife.gruvbox - johnpapa.vscode-peacock - ]; - }; - }; -} \ No newline at end of file diff --git a/unmoved-modules/home-manager/yazi.nix b/unmoved-modules/home-manager/yazi.nix deleted file mode 100644 index 3088c1f..0000000 --- a/unmoved-modules/home-manager/yazi.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ pkgs, ... }: - -{ - programs.yazi = { - enable = true; - enableFishIntegration = true; - - plugins = { - bypass = pkgs.yaziPlugins.bypass; - ouch = pkgs.yaziPlugins.ouch; - }; - - initLua = '' - ''; - - settings = { - mgr = { - show_hidden = true; - - prepend_keymap = [ - { - on = ["L"]; - run = "plugin bypass"; - } - { - on = ["H"]; - run = "plugin bypass reverse"; - } - ]; - }; - - opener = { - edit = [ - { - run = ''vi "$@"''; - block = true; - } - ]; - }; - }; - }; -} diff --git a/unmoved-modules/home-manager/zen-browser.nix b/unmoved-modules/home-manager/zen-browser.nix deleted file mode 100644 index 46b3992..0000000 --- a/unmoved-modules/home-manager/zen-browser.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ inputs, pkgs, ... }: - -{ - imports = [ - inputs.zen-browser.homeModules.twilight - ]; - - programs.zen-browser = { - enable = true; - - policies = { - Preferences = { - - }; - - ExtensionSettings = { - - }; - - AutofillAddressEnabled = true; - AutofillCreditCardEnabled = false; - DisableFeedbackCommands = true; - DisableFirefoxStudies = true; - DisablePocket = true; - DisableTelemetry = true; - DontCheckDefaultBrowser = true; - NoDefaultBookmarks = true; - OfferToSaveLogins = false; - EnableTrackingProtection = { - Value = true; - Locked = true; - Cryptomining = true; - Fingerprinting = true; - }; - }; - - nativeMessagingHosts = [ - pkgs.firefoxpwa - ]; - }; -} \ No newline at end of file diff --git a/unmoved-modules/nixos/bluetooth.nix b/unmoved-modules/nixos/bluetooth.nix deleted file mode 100644 index 0d60d4d..0000000 --- a/unmoved-modules/nixos/bluetooth.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: - -{ - hardware.bluetooth.enable = true; - hardware.bluetooth.powerOnBoot = false; - - environment.systemPackages = with pkgs; [ - ]; -} \ No newline at end of file diff --git a/unmoved-modules/nixos/default.nix b/unmoved-modules/nixos/default.nix deleted file mode 100644 index 2c7123a..0000000 --- a/unmoved-modules/nixos/default.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ pkgs, ... }: - -{ - imports = [ - ./pipewire.nix - ./flatpak.nix - ./greetd.nix - ./xdg-portal.nix - ./bluetooth.nix - ./thunar.nix - ./gaming.nix - ./nix-ld.nix - # ./nordvpn.nix - # ./ly.nix - ./nas.nix - ./fish.nix - ]; - - users.users.jck.packages = with pkgs; [ - pwvucontrol - nix-tree - lxqt.lxqt-policykit - lxqt.lxqt-archiver - rsync - killall - unzip - p7zip-rar - xsel - unar - unrar-wrapper - brightnessctl - ntfs3g - ]; - - programs.localsend.enable = true; - - fonts.packages = with pkgs; [ - nerd-fonts.jetbrains-mono - jetbrains-mono - ]; - - fonts.fontconfig.defaultFonts = { - monospace = [ - "JetBrainsMono Nerd Font" - ]; - }; - - programs.nh = { - enable = true; - clean.enable = true; - clean.extraArgs = "--keep-since 3d --keep 3"; - clean.dates = "daily"; - flake = "/home/jck/nixosconf/"; - }; - - services.printing = { - enable = true; - drivers = with pkgs; [ - brlaser - gutenprint - brgenml1lpr - brgenml1cupswrapper - # cnijfilter2 - ]; - }; - - services.avahi = { - enable = true; - nssmdns4 = true; - openFirewall = true; - }; - - programs.partition-manager.enable = true; - services.udisks2.enable = true; - - services.mullvad-vpn.enable = true; - services.mullvad-vpn.package = pkgs.mullvad-vpn; - services.mullvad-vpn.enableExcludeWrapper = true; - - programs.fish.enable = true; -} diff --git a/unmoved-modules/nixos/fish.nix b/unmoved-modules/nixos/fish.nix deleted file mode 100644 index 1b06707..0000000 --- a/unmoved-modules/nixos/fish.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: - -{ - programs.fish = { - enable = true; - - shellInit = '' - function fish_greeting - fastfetch - end - ''; - }; -} diff --git a/unmoved-modules/nixos/flatpak.nix b/unmoved-modules/nixos/flatpak.nix deleted file mode 100644 index c5f065a..0000000 --- a/unmoved-modules/nixos/flatpak.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, pkgs, lib, inputs, outputs, ... }: - -{ - services.flatpak = { - enable = true; - - packages = [ - #"org.kde.kwrite" - ]; - - update.onActivation = true; - }; -} diff --git a/unmoved-modules/nixos/gaming.nix b/unmoved-modules/nixos/gaming.nix deleted file mode 100644 index 085dd43..0000000 --- a/unmoved-modules/nixos/gaming.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, lib, config, ... }: - -{ - options = { - gaming.enable = lib.mkEnableOption "enables gaming module"; - }; - - imports = [ - ./steam.nix - ]; - - config = lib.mkIf config.gaming.enable { - services.flatpak = { - packages = [ - "org.vinegarhq.Sober" - ]; - }; - }; -} \ No newline at end of file diff --git a/unmoved-modules/nixos/greetd.nix b/unmoved-modules/nixos/greetd.nix deleted file mode 100644 index 89d100a..0000000 --- a/unmoved-modules/nixos/greetd.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, pkgs, ... }: - -{ - environment.systemPackages = with pkgs; [ - tuigreet - seatd - ]; - - services.greetd = { - enable = true; - - settings = { - default_session = { - command = "${pkgs.tuigreet}/bin/tuigreet --user-menu -t --asterisks -c start-hyprland"; - }; - }; - }; -} diff --git a/unmoved-modules/nixos/ly.nix b/unmoved-modules/nixos/ly.nix deleted file mode 100644 index 5affbb0..0000000 --- a/unmoved-modules/nixos/ly.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ - services.displayManager.ly = { - enable = true; - }; -} diff --git a/unmoved-modules/nixos/nas.nix b/unmoved-modules/nixos/nas.nix deleted file mode 100644 index 9cb2067..0000000 --- a/unmoved-modules/nixos/nas.nix +++ /dev/null @@ -1,101 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - options = { - client.nas.enable = lib.mkEnableOption "enables nas"; - }; - - config = lib.mkIf config.client.nas.enable { - services.tailscale.enable = true; - services.tailscale.useRoutingFeatures = "client"; - services.tailscale.openFirewall = true; - services.tailscale.extraUpFlags = [ "--accept-dns=false" ]; - networking.nftables.enable = true; - networking.firewall = { - enable = true; - trustedInterfaces = [ "tailscale0" ]; - allowedUDPPorts = [ config.services.tailscale.port ]; - }; - - networking.nftables = { - tables = { - mullvad_tailscale = { - content = '' - chain output { - type route hook output priority 0; policy accept; - ip daddr 100.64.0.0/10 ct mark set 0x00000f41 meta mark set 0x6d6f6c65; - } - ''; - family = "inet"; - }; - }; - }; - - systemd.services.tailscaled.serviceConfig.Environment = [ - "TS_DEBUG_FIREWALL_MODE=nftables" - ]; - - systemd.network.wait-online.enable = false; - boot.initrd.systemd.network.wait-online.enable = false; - - boot.supportedFilesystems = [ "nfs" ]; - - environment.systemPackages = with pkgs; [ - nfs-utils - ]; - - fileSystems."/mnt/data" = { - device = "100.64.0.2:/tank/data"; - fsType = "nfs4"; - - options = [ - "x-systemd.automount" - "noauto" - "nofail" - "_netdev" - - "hard" - "noatime" - - "x-systemd.mount-timeout=10" - "x-systemd.idle-timeout=600" - ]; - }; - - fileSystems."/mnt/backups" = { - device = "100.64.0.2:/tank/backups"; - fsType = "nfs4"; - - options = [ - "x-systemd.automount" - "noauto" - "nofail" - "_netdev" - - "hard" - "noatime" - - "x-systemd.mount-timeout=10" - "x-systemd.idle-timeout=600" - ]; - }; - - fileSystems."/mnt/media" = { - device = "100.64.0.2:/tank/media"; - fsType = "nfs4"; - - options = [ - "x-systemd.automount" - "noauto" - "nofail" - "_netdev" - - "hard" - "noatime" - - "x-systemd.mount-timeout=10" - "x-systemd.idle-timeout=600" - ]; - }; - }; -} diff --git a/unmoved-modules/nixos/nix-ld.nix b/unmoved-modules/nixos/nix-ld.nix deleted file mode 100644 index f35d2ec..0000000 --- a/unmoved-modules/nixos/nix-ld.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ pkgs, ... }: - -{ - programs.nix-ld = { - enable = true; - libraries = with pkgs; [ - # List by default - zlib - zstd - stdenv.cc.cc - curl - openssl - attr - libssh - bzip2 - libxml2 - acl - libsodium - util-linux - xz - systemd - glib - gtk2 - - # other additions - jq - unzip - py7zr - # python3Full - ]; - }; -} \ No newline at end of file diff --git a/unmoved-modules/nixos/nordvpn.nix b/unmoved-modules/nixos/nordvpn.nix deleted file mode 100644 index e69de29..0000000 diff --git a/unmoved-modules/nixos/pipewire.nix b/unmoved-modules/nixos/pipewire.nix deleted file mode 100644 index 5eac9eb..0000000 --- a/unmoved-modules/nixos/pipewire.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - jack.enable = true; - pulse.enable = true; - socketActivation = true; - }; -} diff --git a/unmoved-modules/nixos/steam.nix b/unmoved-modules/nixos/steam.nix deleted file mode 100644 index ed2619e..0000000 --- a/unmoved-modules/nixos/steam.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - config = lib.mkIf config.gaming.enable { - programs.steam = { - enable = true; - package = pkgs.steam; - protontricks.enable = true; - extest.enable = true; - - extraCompatPackages = with pkgs; [ - proton-ge-bin - mangohud - ]; - }; - - programs.gamemode.enable = true; - }; -} \ No newline at end of file diff --git a/unmoved-modules/nixos/thunar.nix b/unmoved-modules/nixos/thunar.nix deleted file mode 100644 index a698f63..0000000 --- a/unmoved-modules/nixos/thunar.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, ... }: - -{ - programs.thunar = { - enable = true; - - plugins = with pkgs; [ - thunar-archive-plugin - thunar-media-tags-plugin - thunar-volman - ]; - }; - - programs.xfconf.enable = true; - services.gvfs.enable = true; - services.tumbler.enable = true; -} diff --git a/unmoved-modules/nixos/xdg-portal.nix b/unmoved-modules/nixos/xdg-portal.nix deleted file mode 100644 index 51035a4..0000000 --- a/unmoved-modules/nixos/xdg-portal.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ pkgs, ... }: - -{ - xdg.portal = { - enable = true; - - config.common.default = "*"; - - extraPortals = with pkgs; [ - xdg-desktop-portal-hyprland - xdg-desktop-portal-gtk - ]; - }; -} -- cgit v1.3