diff --git a/.gitignore b/.gitignore index 07e05a6..be530ef 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,5 @@ CLAUDE.md .a5c/logs/ .a5c/runs/ # --- end babysitter managed --- +.a5c/ +.ruff_cache/ diff --git a/flake.lock b/flake.lock index 3439630..2fda205 100644 --- a/flake.lock +++ b/flake.lock @@ -2,17 +2,14 @@ "nodes": { "agenix": { "inputs": { - "darwin": "darwin", - "home-manager": "home-manager", - "nixpkgs": "nixpkgs", - "systems": "systems" + "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1770165109, - "narHash": "sha256-9VnK6Oqai65puVJ4WYtCTvlJeXxMzAp/69HhQuTdl/I=", + "lastModified": 1790734419, + "narHash": "sha256-n7wew722m1OTBT9DOIMxNX/NF4zfsSUABAO5eW3wikE=", "owner": "ryantm", "repo": "agenix", - "rev": "b027ee29d959fda4b60b57566d64c98a202e0feb", + "rev": "3daa710894355fa2fad8243380af373a2b4046ef", "type": "github" }, "original": { @@ -23,10 +20,10 @@ }, "agenix_2": { "inputs": { - "darwin": "darwin_2", - "home-manager": "home-manager_4", + "darwin": "darwin", + "home-manager": "home-manager_3", "nixpkgs": "nixpkgs_4", - "systems": "systems_4" + "systems": "systems_3" }, "locked": { "lastModified": 1770165109, @@ -257,7 +254,7 @@ "nixpkgs" ], "stable": "stable", - "systems": "systems_2" + "systems": "systems" }, "locked": { "lastModified": 1790716853, @@ -290,28 +287,6 @@ } }, "darwin": { - "inputs": { - "nixpkgs": [ - "agenix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1744478979, - "narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=", - "owner": "lnl7", - "repo": "nix-darwin", - "rev": "43975d782b418ebf4969e9ccba82466728c2851b", - "type": "github" - }, - "original": { - "owner": "lnl7", - "ref": "master", - "repo": "nix-darwin", - "type": "github" - } - }, - "darwin_2": { "inputs": { "nixpkgs": [ "m3ta-home", @@ -341,11 +316,11 @@ ] }, "locked": { - "lastModified": 1781152676, - "narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=", + "lastModified": 1789770686, + "narHash": "sha256-uZkBR7yHdIKUFB5SZdfgh1qkGfI3XmYmI/lTiquxbck=", "owner": "nix-community", "repo": "disko", - "rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1", + "rev": "725ea35e410ad83be4931d1bff7e090eacaf3563", "type": "github" }, "original": { @@ -525,7 +500,7 @@ "hermes-agent": { "inputs": { "flake-parts": "flake-parts", - "home-manager": "home-manager_2", + "home-manager": "home-manager", "nixpkgs": "nixpkgs_2", "npm-lockfile-fix": "npm-lockfile-fix", "pyproject-build-systems": "pyproject-build-systems", @@ -550,7 +525,7 @@ "hermes-agent_2": { "inputs": { "flake-parts": "flake-parts_3", - "home-manager": "home-manager_5", + "home-manager": "home-manager_4", "nixpkgs": [ "m3ta-home", "nixpkgs" @@ -576,27 +551,6 @@ } }, "home-manager": { - "inputs": { - "nixpkgs": [ - "agenix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1745494811, - "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "home-manager_2": { "inputs": { "nixpkgs": [ "hermes-agent", @@ -617,18 +571,40 @@ "type": "github" } }, - "home-manager_3": { + "home-manager_2": { "inputs": { "nixpkgs": [ "nixpkgs" ] }, "locked": { - "lastModified": 1789695075, - "narHash": "sha256-HREFWgmCTp28ZdMkSFOW2QW8uI17v5CNc04W46h6aPo=", + "lastModified": 1790989254, + "narHash": "sha256-ZN+riaeFuE+DZ5zfqJiXlM12jLwZzeIXiNkU1YeHMXI=", "owner": "nix-community", "repo": "home-manager", - "rev": "4ac5a2ae9025eab1ebece4f9df8c315fd84a738a", + "rev": "acd21c5a3420a9d5fd0ed06299b10828267ef9ba", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_3": { + "inputs": { + "nixpkgs": [ + "m3ta-home", + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1745494811, + "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", "type": "github" }, "original": { @@ -638,28 +614,6 @@ } }, "home-manager_4": { - "inputs": { - "nixpkgs": [ - "m3ta-home", - "agenix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1745494811, - "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "home-manager_5": { "inputs": { "nixpkgs": [ "m3ta-home", @@ -681,7 +635,7 @@ "type": "github" } }, - "home-manager_6": { + "home-manager_5": { "inputs": { "nixpkgs": [ "m3ta-home", @@ -708,7 +662,7 @@ "rose-pine-hyprcursor", "nixpkgs" ], - "systems": "systems_5" + "systems": "systems_4" }, "locked": { "lastModified": 1709914708, @@ -729,7 +683,7 @@ "bun2nix": "bun2nix", "flake-parts": "flake-parts_2", "nixpkgs": "nixpkgs_3", - "systems": "systems_3", + "systems": "systems_2", "treefmt-nix": "treefmt-nix" }, "locked": { @@ -753,7 +707,7 @@ "dms": "dms", "dms-plugin-registry": "dms-plugin-registry", "hermes-agent": "hermes-agent_2", - "home-manager": "home-manager_6", + "home-manager": "home-manager_5", "m3ta-nixpkgs": "m3ta-nixpkgs", "nix-colors": "nix-colors", "nixpkgs": [ @@ -918,16 +872,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1754028485, - "narHash": "sha256-IiiXB3BDTi6UqzAZcf2S797hWEPCRZOwyNThJIYhUfk=", + "lastModified": 1790340521, + "narHash": "sha256-cRrWlIjVRJ6BHDr9caUdXsZ3owzWIKYHpNmGPHBInIU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "59e69648d345d6e8fef86158c555730fa12af9de", + "rev": "f5c082a40f7571c266e74e80ae2e68aadd8a9fc7", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-25.05", + "ref": "nixos-26.05", "repo": "nixpkgs", "type": "github" } @@ -996,11 +950,11 @@ }, "nixpkgs-master_3": { "locked": { - "lastModified": 1789734678, - "narHash": "sha256-0SbNR2FnIbnnyqX5+6kvXL34EwK/XI5dXd28Hx0ZN1I=", + "lastModified": 1791114305, + "narHash": "sha256-ojgCe+QueA4IvXoD66ZozZSRP+coN+QK7BGNNP/SsIw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b95fc8a18fe27d39389c28dee407fbac8952ec98", + "rev": "4f5a73f9cf20cccf66a94b0cf913aa1114576732", "type": "github" }, "original": { @@ -1012,11 +966,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1789654592, - "narHash": "sha256-vrwAiXmz+0hs/IWXZalFG/Ws6xQRcW+gClUDlfvcfjQ=", + "lastModified": 1791031588, + "narHash": "sha256-/FGDr01siZ8txrVzkOz6CYjiz0XR27JuVJP+aWchi4s=", "owner": "nixos", "repo": "nixpkgs", - "rev": "ecc58f32d1069a3e3f8a991e2233d365689f748d", + "rev": "825e2028c29b702a4a5f085f08095d12099784f2", "type": "github" }, "original": { @@ -1028,11 +982,11 @@ }, "nixpkgs_10": { "locked": { - "lastModified": 1789632929, - "narHash": "sha256-RjR8AyvGlWuw16XRj7C1YDEw4E27ciuyPeB2nDMzgTU=", + "lastModified": 1790981744, + "narHash": "sha256-sm6DclXJudZfP/pcDBQQsRqyMxBcQsuw+7yQr4rBBLE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a32edd7654519351e48e80372a928df336394670", + "rev": "55ba7f49ef2962b42cbd126522b7df5f95037679", "type": "github" }, "original": { @@ -1256,11 +1210,11 @@ ] }, "locked": { - "lastModified": 1789735852, - "narHash": "sha256-SrCXUK3N9jzy1BPg3i3lDgmjqSP1T3x80U18A3P/dCs=", + "lastModified": 1791112467, + "narHash": "sha256-LRBGnUtkRWx5hkHF9Ees2J+qWDFfLPjHFndv8l0zWDU=", "owner": "nix-community", "repo": "NUR", - "rev": "fa65dc43e4d45533550ec3030e7bf285450ba5c0", + "rev": "312c1bac1e4430bad45606fd87645bbd02383278", "type": "github" }, "original": { @@ -1417,7 +1371,7 @@ "colmena": "colmena", "disko": "disko", "hermes-agent": "hermes-agent", - "home-manager": "home-manager_3", + "home-manager": "home-manager_2", "llm-agents": "llm-agents", "m3ta-home": "m3ta-home", "m3ta-nixpkgs": "m3ta-nixpkgs_2", @@ -1512,21 +1466,6 @@ } }, "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_2": { "locked": { "lastModified": 1776166891, "narHash": "sha256-bI8yrEGjrohR5hkQox7UrxDH7XqrYMwI8SL/LrJ1+S8=", @@ -1541,6 +1480,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_3": { "locked": { "lastModified": 1681028828, @@ -1557,21 +1511,6 @@ } }, "systems_4": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_5": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -1586,7 +1525,7 @@ "type": "github" } }, - "systems_6": { + "systems_5": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1669,7 +1608,7 @@ }, "utils": { "inputs": { - "systems": "systems_6" + "systems": "systems_5" }, "locked": { "lastModified": 1710146030, diff --git a/flake.nix b/flake.nix index 318520a..73ad3e6 100644 --- a/flake.nix +++ b/flake.nix @@ -94,15 +94,6 @@ # nixosConfigurations (nixos-rebuild/nh) and the Colmena hive below, # so local rebuilds and remote deploys can never drift apart. nixosHosts = { - m3-ares = { - hostname = "m3-ares"; - modules = [ - ./hosts/m3-ares - agenix.nixosModules.default - m3ta-nixpkgs.nixosModules.default - inputs.hermes-agent.nixosModules.default - ]; - }; m3-atlas = { modules = [ ./hosts/m3-atlas @@ -121,14 +112,6 @@ inputs.hermes-agent.nixosModules.default ]; }; - m3-helios = { - modules = [ - ./hosts/m3-helios - inputs.disko.nixosModules.disko - agenix.nixosModules.default - m3ta-nixpkgs.nixosModules.default - ]; - }; m3-hermes = { modules = [ ./hosts/m3-hermes @@ -155,11 +138,6 @@ # set in hosts/common/default.nix keep working unchanged. rawHive = { meta = { - # NOTE: Colmena imports nixpkgs without flake sourceInfo, so - # system.nixos.version renders as "26.11pre-git" instead of - # "26.11.." under `colmena` builds. Purely cosmetic - # (os-release) — package closure, overlays and options are identical - # to nixosConfigurations. Documented colmena behavior. nixpkgs = import nixpkgs { system = "x86_64-linux"; overlays = []; @@ -178,14 +156,6 @@ deployment.targetUser = "m3tam3re"; }; - m3-ares = { - imports = nixosHosts.m3-ares.modules; - deployment = { - targetHost = "m3-ares"; - tags = ["desktop"]; - allowLocalDeployment = true; - }; - }; m3-atlas = { imports = nixosHosts.m3-atlas.modules; deployment = { @@ -201,13 +171,6 @@ allowLocalDeployment = true; }; }; - m3-helios = { - imports = nixosHosts.m3-helios.modules; - deployment = { - targetHost = "m3-helios"; - tags = ["server"]; - }; - }; m3-hermes = { imports = nixosHosts.m3-hermes.modules; deployment = { @@ -235,15 +198,6 @@ colmenaHive = colmena.lib.makeHive rawHive; colmena = rawHive; homeConfigurations = { - "m3tam3re@m3-daedalus" = home-manager.lib.homeManagerConfiguration { - pkgs = nixpkgs.legacyPackages."x86_64-linux"; - extraSpecialArgs = { - inherit inputs outputs; - system = "x86_64-linux"; - hostname = "m3-daedalus"; - }; - modules = [./home/m3tam3re/m3-daedalus.nix]; - }; }; devShells = forAllSystems (system: let pkgs = import nixpkgs { diff --git a/hosts/m3-aether/configuration.nix b/hosts/m3-aether/configuration.nix deleted file mode 100644 index d3addbc..0000000 --- a/hosts/m3-aether/configuration.nix +++ /dev/null @@ -1,111 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page, on -# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{pkgs, ...}: { - imports = [ - # Include the results of the hardware scan. - ./disko-config.nix - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader.grub = { - efiSupport = true; - efiInstallAsRemovable = true; - }; - - networking.hostName = "m3-helios"; # Define your hostname. - networking.hostId = "3ebf1cd3"; - # Pick only one of the below networking options. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - networking.networkmanager.enable = - true; # Easiest to use and most distros use this by default. - # Set your time zone. - time.timeZone = "Europe/Berlin"; - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - # console = { - # font = "Lat2-Terminus16"; - # keyMap = "us"; - # useXkbConfig = true; # use xkb.options in tty. - # }; - - # Enable the X11 windowing system. - # services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - # services.xserver.displayManager.gdm.enable = true; - # services.xserver.desktopManager.gnome.enable = true; - - # Configure keymap in X11 - # services.xserver.xkb.layout = "us"; - # services.xserver.xkb.options = "eurosign:e,caps:escape"; - - # Enable CUPS to print documents. - # services.printing.enable = true; - - # Enable sound. - # hardware.pulseaudio.enable = true; - # OR - - # Enable touchpad support (enabled default in most desktopManager). - # services.libinput.enable = true; - - # Define a user account. Don't forget to set a password with ‘passwd’. - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [neovim git]; - - # 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; - services.fstrim = { - enable = true; # For SSD/thin-provisioned storage - interval = "weekly"; - }; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # Copy the NixOS configuration file and link it from the resulting system - # (/run/current-system/configuration.nix). This is useful in case you - # accidentally delete configuration.nix. - # system.copySystemConfiguration = true; - - # This option defines the first version of NixOS you have installed on this particular machine, - # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. - # - # Most users should NEVER change this value after the initial install, for any reason, - # even if you've upgraded your system to a new NixOS release. - # - # This value does NOT affect the Nixpkgs version your packages and OS are pulled from, - # so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how - # to actually do that. - # - # This value being lower than the current NixOS release does NOT mean your system is - # out of date, out of support, or vulnerable. - # - # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, - # and migrated your data accordingly. - # - # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . - system.stateVersion = "24.11"; # Did you read the comment? -} diff --git a/hosts/m3-aether/default.nix b/hosts/m3-aether/default.nix deleted file mode 100644 index 0d317fe..0000000 --- a/hosts/m3-aether/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -# A staring point is the basic NIXOS configuration generated by the ISO installer. -# On an existing NIXOS install you can use the following command in your flakes basedir: -# sudo nixos-generate-config --dir ./hosts/m3tam3re -# -# Please make sure to change the first couple of lines in your configuration.nix: -# { config, inputs, ouputs, lib, pkgs, ... }: -# -# { -# imports = [ # Include the results of the hardware scan. -# ./hardware-configuration.nix -# inputs.home-manager.nixosModules.home-manager -# ]; -# ... -# -# Moreover please update the packages option in your user configuration and add the home-manager options: -# users.users = { -# m3tam3re = { -# isNormalUser = true; -# initialPassword = "12345"; -# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. -# packages = [ inputs.home-manager.packages.${pkgs.system}.default ]; -# }; -# }; -# -# home-manager = { -# useUserPackages = true; -# extraSpecialArgs = { inherit inputs outputs; }; -# users.m3tam3re = -# import ../../home/m3tam3re/${config.networking.hostName}.nix; -# }; -# -# Please also change your hostname accordingly: -#:w -# networking.hostName = "nixos"; # Define your hostname. -{ - imports = [ - ../common - ./configuration.nix - ./programs.nix - ./secrets.nix - ./services - ]; - - extraServices = { - flatpak.enable = true; - ollama.enable = false; - podman.enable = true; - virtualisation.enable = false; - }; -} diff --git a/hosts/m3-aether/disko-config.nix b/hosts/m3-aether/disko-config.nix deleted file mode 100644 index ed8a8b6..0000000 --- a/hosts/m3-aether/disko-config.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - disko.devices = { - disk = { - main = { - type = "disk"; - device = "/dev/sda"; - content = { - type = "gpt"; - partitions = { - boot = { - size = "1M"; - type = "EF02"; # for GRUB MBR - priority = 1; - }; - esp = { - size = "512M"; - type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = ["defaults" "umask=0077"]; - }; - }; - root = { - size = "100%"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - mountOptions = ["noatime" "nodiratime" "discard"]; - }; - }; - }; - }; - }; - }; - }; -} diff --git a/hosts/m3-aether/hardware-configuration.nix b/hosts/m3-aether/hardware-configuration.nix deleted file mode 100644 index 7caa8fe..0000000 --- a/hosts/m3-aether/hardware-configuration.nix +++ /dev/null @@ -1,28 +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 + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = []; - boot.extraModulePackages = []; - - # 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.ens18.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -} diff --git a/hosts/m3-aether/programs.nix b/hosts/m3-aether/programs.nix deleted file mode 100644 index 829e7cf..0000000 --- a/hosts/m3-aether/programs.nix +++ /dev/null @@ -1,14 +0,0 @@ -{pkgs, ...}: { - programs.nix-ld.enable = true; - programs.nix-ld.libraries = with pkgs; [ - # Add any missing dynamic libraries for unpackaged programs - # here, NOT in environment.systemPackages - ]; - programs.fish.enable = true; - programs.nh = { - enable = true; - clean.enable = true; - clean.extraArgs = "--keep-since 4d --keep 3"; - flake = "/home/m3tam3re/p/nixos/nixos-config"; - }; -} diff --git a/hosts/m3-aether/secrets.nix b/hosts/m3-aether/secrets.nix deleted file mode 100644 index 9ab40c8..0000000 --- a/hosts/m3-aether/secrets.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ - age = { - secrets = { - traefik = { - file = ../../secrets/traefik.age; - mode = "770"; - owner = "traefik"; - }; - m3tam3re-secrets = { - file = ../../secrets/m3tam3re-secrets.age; - owner = "m3tam3re"; - }; - }; - }; -} diff --git a/hosts/m3-aether/services/cloud-init.nix b/hosts/m3-aether/services/cloud-init.nix deleted file mode 100644 index 5bf395e..0000000 --- a/hosts/m3-aether/services/cloud-init.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ - services.cloud-init = { - enable = true; - ext4.enable = true; - network.enable = true; - }; -} diff --git a/hosts/m3-aether/services/default.nix b/hosts/m3-aether/services/default.nix deleted file mode 100644 index 4c0dc5c..0000000 --- a/hosts/m3-aether/services/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ - imports = [ - ./cloud-init.nix - ]; -} diff --git a/hosts/m3-ares/configuration.nix b/hosts/m3-ares/configuration.nix deleted file mode 100644 index 869d1a4..0000000 --- a/hosts/m3-ares/configuration.nix +++ /dev/null @@ -1,136 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page, on -# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{pkgs, ...}: { - imports = [ - # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - specialisation = { - "NVIDIA".configuration = { - system.nixos.tags = ["NVIDIA"]; - services.xserver.videoDrivers = ["nvidia"]; - hardware.nvidia-container-toolkit.enable = true; - }; - }; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.systemd-boot.memtest86.enable = true; - boot.initrd.services.lvm.enable = false; - # boot.kernelModules = []; - boot.kernelPackages = pkgs.linuxPackages_latest; - boot.extraModprobeConfig = '' - options kvm_intel nested=1 - options kvm_intel emulate_invalid_guest_state=0 - options kvm ignore_msrs=1 - ''; - boot.blacklistedKernelModules = ["nova_core"]; - # CRITICAL FIX #4: Kernel parameters to prevent nouveau from loading early - - networking.hostName = "m3-ares"; # Define your hostname. - # warp-terminal update fix - # networking.extraHosts = '' - # 127.0.0.1 releases.warp.dev - # 127.0.0.1 app.warp.dev - # ''; - # Pick only one of the below networking options. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - networking.networkmanager.enable = - true; # Easiest to use and most distros use this by default. - # Set your time zone. - time.timeZone = "Europe/Berlin"; - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - # console = { - # font = "Lat2-Terminus16"; - # keyMap = "us"; - # useXkbConfig = true; # use xkb.options in tty. - # }; - - # Enable the X11 windowing system. - # services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - # services.xserver.displayManager.gdm.enable = true; - # services.xserver.desktopManager.gnome.enable = true; - # displayManager.gdm.enable = true; - - # No display manager — keyring unlocks at TTY login instead. - security.pam.services.login.enableGnomeKeyring = true; - # Configure keymap in X11 - # services.xserver.xkb.layout = "us"; - # services.xserver.xkb.options = "eurosign:e,caps:escape"; - - # Enable CUPS to print documents. - # services.printing.enable = true; - - # Enable sound. - # hardware.pulseaudio.enable = true; - # OR - - # Enable touchpad support (enabled default in most desktopManager). - # services.libinput.enable = true; - - # Define a user account. Don't forget to set a password with ‘passwd’. - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [neovim git]; - - # 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.PermitRootLogin = "no"; - settings = { - PasswordAuthentication = false; - }; - }; - services.fstrim.enable = true; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # Copy the NixOS configuration file and link it from the resulting system - # (/run/current-system/configuration.nix). This is useful in case you - # accidentally delete configuration.nix. - # system.copySystemConfiguration = true; - - # This option defines the first version of NixOS you have installed on this particular machine, - # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. - # - # Most users should NEVER change this value after the initial install, for any reason, - # even if you've upgraded your system to a new NixOS release. - # - # This value does NOT affect the Nixpkgs version your packages and OS are pulled from, - # so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how - # to actually do that. - # - # This value being lower than the current NixOS release does NOT mean your system is - # out of date, out of support, or vulnerable. - # - # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, - # and migrated your data accordingly. - # - # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . - system.stateVersion = "24.11"; # Did you read the comment? -} diff --git a/hosts/m3-ares/default.nix b/hosts/m3-ares/default.nix deleted file mode 100644 index ec00aa8..0000000 --- a/hosts/m3-ares/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -# A staring point is the basic NIXOS configuration generated by the ISO installer. -# On an existing NIXOS install you can use the following command in your flakes basedir: -# sudo nixos-generate-config --dir ./hosts/m3tam3re -# -# Please make sure to change the first couple of lines in your configuration.nix: -# { config, inputs, ouputs, lib, pkgs, ... }: -# -# { -# imports = [ # Include the results of the hardware scan. -# ./hardware-configuration.nix -# inputs.home-manager.nixosModules.home-manager -# ]; -# ... -# -# Moreover please update the packages option in your user configuration and add the home-manager options: -# users.users = { -# m3tam3re = { -# isNormalUser = true; -# initialPassword = "12345"; -# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. -# packages = [ inputs.home-manager.packages.${pkgs.system}.default ]; -# }; -# }; -# -# home-manager = { -# useUserPackages = true; -# extraSpecialArgs = { inherit inputs outputs; }; -# users.m3tam3re = -# import ../../home/m3tam3re/${config.networking.hostName}.nix; -# }; -# -# Please also change your hostname accordingly: -#:w -# networking.hostName = "nixos"; # Define your hostname. -{ - imports = [ - ../common - ./configuration.nix - ./hardware.nix - ./programs.nix - ./secrets.nix - ./services - ]; - - extraServices = { - colmenaDeploy.enable = true; - flatpak.enable = true; - ollama.enable = false; - podman.enable = true; - virtualisation.enable = true; - }; -} diff --git a/hosts/m3-ares/hardware-configuration.nix b/hosts/m3-ares/hardware-configuration.nix deleted file mode 100644 index 158e8d7..0000000 --- a/hosts/m3-ares/hardware-configuration.nix +++ /dev/null @@ -1,73 +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, - modulesPath, - ... -}: { - imports = [(modulesPath + "/installer/scan/not-detected.nix")]; - - boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "ahci" "nvme" "usb_storage" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; - boot.supportedFilesystems = ["nfs"]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/3a50bf0a-024b-488b-aa11-56b32f2fb54d"; - fsType = "btrfs"; - options = ["subvol=root" "compress=zstd"]; - }; - - fileSystems."/home" = { - device = "/dev/disk/by-uuid/3a50bf0a-024b-488b-aa11-56b32f2fb54d"; - fsType = "btrfs"; - options = ["subvol=home" "compress=zstd"]; - }; - - fileSystems."/nix" = { - device = "/dev/disk/by-uuid/3a50bf0a-024b-488b-aa11-56b32f2fb54d"; - fsType = "btrfs"; - options = ["subvol=home" "compress=zstd" "noatime"]; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/4811-EA6E"; - fsType = "vfat"; - }; - - fileSystems."/opt" = { - device = "/dev/disk/by-uuid/3574df3a-2a90-4b54-9c21-128f1d01ff8f"; - fsType = "btrfs"; - options = ["noatime" "compress=zstd"]; - }; - - fileSystems."/mnt/skynet-bkg" = { - device = "192.168.1.100:/volume3/bkg"; - fsType = "nfs"; - options = ["noauto" "x-systemd.automount"]; - }; - - fileSystems."/mnt/skynet" = { - device = "192.168.1.100:/volume3/m3-skynet"; - fsType = "nfs"; - options = ["noauto" "x-systemd.automount"]; - }; - - swapDevices = []; - - # 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.enp46s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = - lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/m3-ares/hardware.nix b/hosts/m3-ares/hardware.nix deleted file mode 100644 index 0ec30ea..0000000 --- a/hosts/m3-ares/hardware.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ - config, - pkgs, - inputs, - ... -}: { - # Workaround for tuxedo-drivers module bug in unstable (nixpkgs#480391) - # The unstable module has a type error - use stable module until fix propagates - # disabledModules = [ "hardware/tuxedo-drivers.nix" ]; - # imports = - # [ "${inputs.nixpkgs-stable}/nixos/modules/hardware/tuxedo-drivers.nix" ]; - - hardware.nvidia = { - prime = { - offload.enable = false; - - # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA - intelBusId = "PCI:0:2:0"; - - # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA - nvidiaBusId = "PCI:1:0:0"; - }; - modesetting.enable = true; - powerManagement.finegrained = false; - powerManagement.enable = true; - open = false; - dynamicBoost.enable = true; - nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.production; - }; - hardware.tuxedo-drivers.enable = true; - hardware.bluetooth.enable = true; - hardware.keyboard.zsa.enable = true; - hardware.graphics.enable = true; - - services.hardware.bolt.enable = true; - services.auto-cpufreq.enable = true; - services.tlp = { - enable = true; - settings = { - START_CHARGE_THRESH_BAT0 = 75; - STOP_CHARGE_THRESH_BAT0 = 80; - }; - }; - - environment.systemPackages = with pkgs; [tuxedo-backlight]; - security.sudo.extraRules = [ - { - users = ["@wheel"]; - commands = [ - { - command = "/run/current-system/sw/bin/set-backlight"; - options = ["NOPASSWD"]; - } - ]; - } - ]; -} diff --git a/hosts/m3-ares/home.nix b/hosts/m3-ares/home.nix deleted file mode 100644 index 483cca7..0000000 --- a/hosts/m3-ares/home.nix +++ /dev/null @@ -1,143 +0,0 @@ -# hosts/m3-ares/home.nix — Host-specific home-manager overrides. -# TUXEDO laptop: eDP-1 + HDMI-A-1 external monitor. -# Everything else (shell, editors, gaming, media, theme, etc.) comes from -# m3ta-home via the profile mapping in hosts/common/users/m3tam3re.nix. -{ - config, - lib, - ... -}: -with lib; let - lua = lib.generators.mkLuaInline; - - startupCommand = command: { - _args = [ - "hyprland.start" - (lua '' - function() - hl.exec_cmd(${builtins.toJSON command}) - end - '') - ]; - }; -in { - config = mkMerge [ - # ── XDG / MIME defaults ── - { - xdg = { - enable = true; - configFile."mimeapps.list".force = true; - mimeApps = { - enable = true; - associations.added = { - "application/zip" = ["org.gnome.FileRoller.desktop"]; - "application/csv" = ["calc.desktop"]; - "application/pdf" = ["vivaldi-stable.desktop"]; - "x-scheme-handler/http" = ["vivaldi-stable.desktop"]; - "x-scheme-handler/https" = ["vivaldi-stable.desktop"]; - }; - defaultApplications = { - "application/zip" = ["org.gnome.FileRoller.desktop"]; - "application/csv" = ["calc.desktop"]; - "application/pdf" = ["vivaldi-stable.desktop"]; - "application/md" = ["dev.zed.Zed.desktop"]; - "application/text" = ["dev.zed.Zed.desktop"]; - "x-scheme-handler/http" = ["vivaldi-stable.desktop"]; - "x-scheme-handler/https" = ["vivaldi-stable.desktop"]; - }; - }; - }; - } - - # ── Hyprland monitor layout ── - (mkIf config.desktop.wm.hyprland.enable { - wayland.windowManager.hyprland = { - enable = true; - settings = { - on = [ - (startupCommand "tuxedo-backlight") - ]; - monitor = [ - { - output = "eDP-1"; - mode = "preferred"; - position = "0x0"; - scale = 1.25; - } - { - output = "HDMI-A-1"; - mode = "1920x1080@120"; - position = "2560x0"; - scale = 1; - } - ]; - workspace_rule = [ - { - workspace = "1"; - monitor = "eDP-1"; - default = true; - } - { - workspace = "2"; - monitor = "eDP-1"; - } - { - workspace = "3"; - monitor = "eDP-1"; - } - { - workspace = "4"; - monitor = "HDMI-A-1"; - } - { - workspace = "5"; - monitor = "HDMI-A-1"; - no_border = true; - no_rounding = true; - } - { - workspace = "6"; - monitor = "HDMI-A-1"; - } - ]; - window_rule = [ - { - match.class = "dev.zed.Zed"; - workspace = "1"; - } - { - match.class = "Msty"; - workspace = "1"; - } - { - match.class = "^(com.obsproject.Studio)$"; - workspace = "2"; - } - { - match.class = "^(brave-browser)$"; - workspace = "4"; - opacity = "1.0"; - } - { - match.class = "^(vivaldi-stable)$"; - workspace = "4"; - opacity = "1.0"; - } - { - match.class = "^steam_app_\\d+$"; - fullscreen = true; - } - { - match.class = "^steam_app_\\d+$"; - workspace = "5"; - } - { - match.class = "^steam_app_\\d+$"; - idle_inhibit = "focus"; - } - ]; - }; - }; - }) - ]; -} diff --git a/hosts/m3-ares/programs.nix b/hosts/m3-ares/programs.nix deleted file mode 100644 index bf663af..0000000 --- a/hosts/m3-ares/programs.nix +++ /dev/null @@ -1,45 +0,0 @@ -{pkgs, ...}: { - programs.nix-ld.enable = true; - programs.nix-ld.libraries = with pkgs; [ - # Add any missing dynamic libraries for unpackaged programs - # here, NOT in environment.systemPackages - ]; - programs.hyprland = { - enable = true; - xwayland.enable = true; - withUWSM = true; - }; - programs.steam = { - enable = true; - remotePlay.openFirewall = true; - dedicatedServer.openFirewall = true; - gamescopeSession = { - enable = true; - args = [ - "-W 1920" - "-H 1080" - ]; - }; - }; - programs.gamescope = { - enable = true; - capSysNice = true; - }; - programs.fish.enable = true; - programs.thunar = { - enable = true; - plugins = with pkgs; [thunar-archive-plugin thunar-volman]; - }; - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; - pinentryPackage = pkgs.pinentry-gnome3; - settings = {default-cache-ttl = 10800;}; - }; - programs.nh = { - enable = true; - clean.enable = true; - clean.extraArgs = "--keep-since 4d --keep 3"; - flake = "/home/m3tam3re/p/nixos/nixos-config"; - }; -} diff --git a/hosts/m3-ares/secrets.nix b/hosts/m3-ares/secrets.nix deleted file mode 100644 index 402d8a4..0000000 --- a/hosts/m3-ares/secrets.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - age = { - secrets = { - anytype-key = { - file = ../../secrets/anytype-key-ares.age; - owner = "m3tam3re"; - }; - wg-DE = { - file = ../../secrets/wg-DE.age; - path = "/etc/wireguard/DE.conf"; - }; - wg-NL = { - file = ../../secrets/wg-NL.age; - path = "/etc/wireguard/NL.conf"; - }; - wg-NO = { - file = ../../secrets/wg-NO.age; - path = "/etc/wireguard/NO.conf"; - }; - wg-US = { - file = ../../secrets/wg-US.age; - path = "/etc/wireguard/US.conf"; - }; - wg-BR = { - file = ../../secrets/wg-BR.age; - path = "/etc/wireguard/BR.conf"; - }; - ref-key = { - file = ../../secrets/ref-key.age; - owner = "m3tam3re"; - }; - exa-key = { - file = ../../secrets/exa-key.age; - owner = "m3tam3re"; - }; - outline-key = { - file = ../../secrets/outline-key.age; - owner = "m3tam3re"; - }; - basecamp-client-id = { - file = ../../secrets/basecamp-client-id.age; - owner = "m3tam3re"; - }; - basecamp-client-secret = { - file = ../../secrets/basecamp-client-secret.age; - owner = "m3tam3re"; - }; - tailscale-key.file = ../../secrets/tailscale-key.age; - m3tam3re-secrets = { - file = ../../secrets/m3tam3re-secrets.age; - owner = "m3tam3re"; - }; - hermes-env = { - file = ../../secrets/hermes-env.age; - owner = "m3tam3re"; - }; - }; - }; -} diff --git a/hosts/m3-ares/services/containers/default.nix b/hosts/m3-ares/services/containers/default.nix deleted file mode 100644 index f7e9be4..0000000 --- a/hosts/m3-ares/services/containers/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ - imports = [ - ]; -} diff --git a/hosts/m3-ares/services/default.nix b/hosts/m3-ares/services/default.nix deleted file mode 100644 index e3615c9..0000000 --- a/hosts/m3-ares/services/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{pkgs, ...}: { - imports = [ - ./containers - ./netbird.nix - #./n8n.nix - ./mem0.nix - ./postgres.nix - ./restic.nix - ./sound.nix - ./udev.nix - ./wireguard.nix - ]; - # console.useXkbConfig = true; - - # services.xserver.xkb = { - # layout = "de,us"; - # options = "ctrl:nocaps"; - # }; - - # optional, falls du auch die TTY-Konsole deutsch willst: - services = { - hypridle.enable = true; - espanso = { - enable = true; - package = pkgs.espanso-wayland; - }; - printing.enable = true; - gvfs.enable = true; - trezord.enable = true; - gnome.gnome-keyring.enable = true; - # qdrant.enable = true; - # qdrant = { - # enable = true; - # settings = { - # service = { - # host = "0.0.0.0"; - # }; - # }; - # }; - upower.enable = true; - avahi = { - enable = true; - nssmdns4 = true; - publish = { - addresses = true; - workstation = true; - userServices = true; - }; - }; - }; -} diff --git a/hosts/m3-ares/services/mem0.nix b/hosts/m3-ares/services/mem0.nix deleted file mode 100644 index fdf7e97..0000000 --- a/hosts/m3-ares/services/mem0.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - m3ta.mem0 = { - enable = true; - port = 8000; - host = "127.0.0.1"; - - # LLM Configuration - llm = { - provider = "openai"; - apiKeyFile = "/var/lib/mem0/openai-api-key-1"; # Use agenix or sops-nix - }; - - # Vector Storage Configuration - vectorStore = { - provider = "qdrant"; # or "chroma", "pinecone", etc. - config = { - host = "localhost"; - port = 6333; - collection_name = "mem0_alice"; - }; - }; - }; -} diff --git a/hosts/m3-ares/services/n8n.nix b/hosts/m3-ares/services/n8n.nix deleted file mode 100644 index 3751aaa..0000000 --- a/hosts/m3-ares/services/n8n.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ - services.n8n = { - enable = true; - openFirewall = true; - }; - systemd.services.n8n = { - environment = { - N8N_SECURE_COOKIE = "false"; - }; - }; -} diff --git a/hosts/m3-ares/services/netbird.nix b/hosts/m3-ares/services/netbird.nix deleted file mode 100644 index bed5199..0000000 --- a/hosts/m3-ares/services/netbird.nix +++ /dev/null @@ -1,29 +0,0 @@ -{pkgs, ...}: { - services.netbird.enable = true; - environment.systemPackages = with pkgs; [netbird-ui]; - - systemd.services.netbird = { - environment = { - NB_DISABLE_SSH_CONFIG = "true"; - }; - path = [ - pkgs.shadow - pkgs.util-linux - ]; - }; - - programs.ssh.extraConfig = '' - Match exec "${pkgs.netbird}/bin/netbird ssh detect %h %p" - PreferredAuthentications password,publickey,keyboard-interactive - PasswordAuthentication yes - PubkeyAuthentication yes - BatchMode no - ProxyCommand ${pkgs.netbird}/bin/netbird ssh proxy %h %p - StrictHostKeyChecking no - UserKnownHostsFile /dev/null - CheckHostIP no - LogLevel ERROR - ''; - - networking.firewall.checkReversePath = "loose"; -} diff --git a/hosts/m3-ares/services/postgres.nix b/hosts/m3-ares/services/postgres.nix deleted file mode 100644 index eb46ca8..0000000 --- a/hosts/m3-ares/services/postgres.nix +++ /dev/null @@ -1,22 +0,0 @@ -{pkgs, ...}: { - services.postgresql = { - enable = true; - package = pkgs.postgresql_17; - extensions = with pkgs.postgresql17Packages; [ - pgvector - ]; - authentication = '' - local all all trust - host all all 127.0.0.1/32 trust - host all all ::1/128 trust - - host all all 10.88.0.0/16 trust - host all all 19.89.0.0/16 trust - ''; - initialScript = pkgs.writeText "initialScript.sql" '' - CREATE USER n8n WITH PASSWORD 'n8n'; - CREATE DATABASE n8n; - GRANT ALL PRIVILEGES ON DATABASE n8n TO n8n; - ''; - }; -} diff --git a/hosts/m3-ares/services/restic.nix b/hosts/m3-ares/services/restic.nix deleted file mode 100644 index 3111a3a..0000000 --- a/hosts/m3-ares/services/restic.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - services.restic.backups = { - skynet = { - repository = "/mnt/skynet-bkg/m3-nix"; - passwordFile = "/etc/nixos/restic-pass"; - initialize = true; - paths = ["/home/m3tam3re"]; - exclude = [ - "/home/m3tam3re/.cache" - "/home/m3tam3re/Bilder/" - "/home/m3tam3re/Videos/" - "/home/m3tam3re/Downloads" - "/home/m3tam3re/Library" - "/home/m3tam3re/Projekte" - "/home/m3tam3re/Sync" - "/home/m3tam3re/.local/share/Trash" - ]; - timerConfig = { - OnCalendar = "09:30"; - RandomizedDelaySec = "2h"; - Persistent = true; - }; - }; - }; -} diff --git a/hosts/m3-ares/services/sound.nix b/hosts/m3-ares/services/sound.nix deleted file mode 100644 index 1e334f8..0000000 --- a/hosts/m3-ares/services/sound.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - jack.enable = false; - wireplumber.enable = true; - }; -} diff --git a/hosts/m3-ares/services/udev.nix b/hosts/m3-ares/services/udev.nix deleted file mode 100644 index 43ebcbe..0000000 --- a/hosts/m3-ares/services/udev.nix +++ /dev/null @@ -1,10 +0,0 @@ -{pkgs, ...}: { - services.udev.extraRules = '' - SUBSYSTEM=="usb", MODE="0666" - SUBSYSTEM=="leds", KERNEL=="rgb:kbd_backlight*", ACTION=="add", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/leds/%k/multi_intensity" - KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput" - KERNEL=="event*", SUBSYSTEM=="input", MODE="0660", GROUP="input" ''; - environment.systemPackages = with pkgs; [ - zsa-udev-rules - ]; -} diff --git a/hosts/m3-ares/services/wireguard.nix b/hosts/m3-ares/services/wireguard.nix deleted file mode 100644 index b98e312..0000000 --- a/hosts/m3-ares/services/wireguard.nix +++ /dev/null @@ -1,25 +0,0 @@ -{config, ...}: { - networking.wg-quick.interfaces = { - DE = { - configFile = config.age.secrets.wg-DE.path; - autostart = false; - }; - NL = { - configFile = config.age.secrets.wg-NL.path; - autostart = false; - }; - NO = { - configFile = config.age.secrets.wg-NO.path; - autostart = false; - }; - US = { - configFile = config.age.secrets.wg-US.path; - autostart = false; - }; - BR = { - configFile = config.age.secrets.wg-BR.path; - autostart = false; - }; - }; - services.resolved.enable = true; -} diff --git a/hosts/m3-daedalus/home.nix b/hosts/m3-daedalus/home.nix deleted file mode 100644 index 22d84bb..0000000 --- a/hosts/m3-daedalus/home.nix +++ /dev/null @@ -1,37 +0,0 @@ -# hosts/m3-daedalus/home.nix — Host-specific home-manager overrides. -# Portable laptop: no Hyprland, no external monitors. -# Everything else (shell, editors, media, theme, etc.) comes from -# m3ta-home via the profile mapping in hosts/common/users/m3tam3re.nix. -{ - config, - lib, - ... -}: -with lib; { - config = { - # ── XDG / MIME defaults ── - xdg = { - enable = true; - configFile."mimeapps.list".force = true; - mimeApps = { - enable = true; - associations.added = { - "application/zip" = ["org.gnome.FileRoller.desktop"]; - "application/csv" = ["calc.desktop"]; - "application/pdf" = ["vivaldi-stable.desktop"]; - "x-scheme-handler/http" = ["vivaldi-stable.desktop"]; - "x-scheme-handler/https" = ["vivaldi-stable.desktop"]; - }; - defaultApplications = { - "application/zip" = ["org.gnome.FileRoller.desktop"]; - "application/csv" = ["calc.desktop"]; - "application/pdf" = ["vivaldi-stable.desktop"]; - "application/md" = ["dev.zed.Zed.desktop"]; - "application/text" = ["dev.zed.Zed.desktop"]; - "x-scheme-handler/http" = ["vivaldi-stable.desktop"]; - "x-scheme-handler/https" = ["vivaldi-stable.desktop"]; - }; - }; - }; - }; -}