diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-06-27 18:01:03 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:58:56 +0300 |
| commit | 7efae831391971860665d094acd9173c9f5050f8 (patch) | |
| tree | 60e26726fbc33c4d055d951315d67dbd0614d7f2 | |
| parent | 0a92ba6fb6a22898e3c109ca661819ad7d0fea6a (diff) | |
add docker mirror
| -rw-r--r-- | nixos/laptop/configuration.nix | 4 | ||||
| -rw-r--r-- | nixos/nixosModules/docker.nix | 3 | ||||
| -rw-r--r-- | nixos/nixosModules/greetd.nix | 4 | ||||
| -rw-r--r-- | nixos/nixosModules/user.nix | 2 |
4 files changed, 6 insertions, 7 deletions
diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix index 9abd497..8bd7980 100644 --- a/nixos/laptop/configuration.nix +++ b/nixos/laptop/configuration.nix @@ -23,12 +23,12 @@ virtualisation.libvirtd.enable = true; programs.virt-manager.enable = true; - + programs.adb.enable = true; services.udev.packages = [ pkgs.android-udev-rules ]; - + services.joycond.enable = true; environment.systemPackages = with pkgs; [ joycond-cemuhook diff --git a/nixos/nixosModules/docker.nix b/nixos/nixosModules/docker.nix index 0536d7e..9dea596 100644 --- a/nixos/nixosModules/docker.nix +++ b/nixos/nixosModules/docker.nix @@ -14,6 +14,9 @@ base = "172.20.0.0/8"; size = 16; }]; + registry-mirrors = [ + "https://huecker.io" + ]; }; }; }; diff --git a/nixos/nixosModules/greetd.nix b/nixos/nixosModules/greetd.nix index f48c291..f391d68 100644 --- a/nixos/nixosModules/greetd.nix +++ b/nixos/nixosModules/greetd.nix @@ -1,10 +1,6 @@ { pkgs, config, lib, inputs, outputs, ... }: { - imports = [ - inputs.stylix.nixosModules.stylix - ]; - options = { greetd.enable = lib.mkEnableOption "enable greetd"; }; diff --git a/nixos/nixosModules/user.nix b/nixos/nixosModules/user.nix index da40b09..aee6bb1 100644 --- a/nixos/nixosModules/user.nix +++ b/nixos/nixosModules/user.nix @@ -10,7 +10,7 @@ jerpo = { isNormalUser = true; shell = pkgs.fish; - extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "input" "adbusers" ]; + extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "input" "adbusers" "dialout" ]; }; }; |
