diff --git a/configuration.nix b/configuration.nix index 4abc457..ac50489 100644 --- a/configuration.nix +++ b/configuration.nix @@ -20,6 +20,7 @@ ./modules/tailscale.nix ./modules/tmux.nix # ./modules/minetest-server.nix +# ./modules/wifi.nix ## noch kein device gefunden das geht. das kleine dwa-171 geht nicht ]; # Use the GRUB 2 boot loader. diff --git a/modules/minetest-server.nix b/modules/minetest-server.nix new file mode 100644 index 0000000..4757e70 --- /dev/null +++ b/modules/minetest-server.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + # install + environment.systemPackages = [ pkgs.minetestserver ]; + + # config + services.minetest-server = { + enable = true; + port = 30000; + }; +} diff --git a/modules/root-programs.nix b/modules/root-programs.nix index 93145c8..885fd7b 100644 --- a/modules/root-programs.nix +++ b/modules/root-programs.nix @@ -3,16 +3,17 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - wget - nano - git - mc - ncdu - parted - gpart - tmux - hdparm + usbutils + wget + nano + git + mc + ncdu + parted + gpart + tmux + hdparm - python3 + python3 ]; } diff --git a/modules/wifi.nix b/modules/wifi.nix new file mode 100644 index 0000000..5bf7f96 --- /dev/null +++ b/modules/wifi.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + networking.wireless.enable = true; + networking.wireless.networks = { + "22" = { + psk = "frankreich"; + }; + }; +} diff --git a/result b/result index a2c5fc6..5f34130 120000 --- a/result +++ b/result @@ -1 +1 @@ -/nix/store/lc5s2x37mpcgx8b6hg8ikaf8qpf6hvci-nixos-system-bfds-23.11.2217.d02d818f22c7 \ No newline at end of file +/nix/store/b5lnz8plb83hywpx9qlk3ip8zd45pwvz-nixos-system-bfds-23.11.2217.d02d818f22c7 \ No newline at end of file