From 0bcabe1c4b1dd74af233674dfa6c6ec3011ce2c0 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 18 Jan 2022 09:43:24 +0100 Subject: restructuring directories --- abbenay/configuration.nix | 58 +++++++++ abbenay/hardware-configuration.nix | 35 ++++++ assets/ilztal.live/geolocation/index.html | 179 --------------------------- assets/ilztal.live/geolocation/mapview.html | 94 --------------- assets/ilztal.live/geolocation/view.html | 77 ------------ chaski/configuration.nix | 48 ++++++++ chaski/hardware-configuration.nix | 23 ++++ chaski/ilztal.live/geolocation/index.html | 179 +++++++++++++++++++++++++++ chaski/ilztal.live/geolocation/mapview.html | 94 +++++++++++++++ chaski/ilztal.live/geolocation/view.html | 77 ++++++++++++ chaski/services/VaaS/.gitignore | 1 + chaski/services/VaaS/CHANGELOG.md | 5 + chaski/services/VaaS/app/Main.hs | 58 +++++++++ chaski/services/VaaS/default.nix | 30 +++++ chaski/services/VaaS/haskell.cabal | 35 ++++++ chaski/services/VaaS/index.html | 46 +++++++ chaski/services/geolocation.nix | 6 + chaski/services/gtfs.nix | 38 ++++++ chaski/services/jitsi.nix | 59 +++++++++ chaski/services/uplcg.nix | 23 ++++ chaski/services/woitb.nix | 32 +++++ chaski/services/woitb/index.html | 124 +++++++++++++++++++ chaski/services/woitb/info.html | 180 ++++++++++++++++++++++++++++ cyberbox/configuration.nix | 59 +++++++++ cyberbox/hardware-configuration.nix | 31 +++++ flake.nix | 8 +- flora/configuration.nix | 72 +++++++++++ flora/hardware-configuration.nix | 25 ++++ flora/services/blog.nix | 9 ++ flora/services/cgit.nix | 94 +++++++++++++++ flora/services/daemoniones.nix | 34 ++++++ flora/services/dockerhub.nix | 23 ++++ flora/services/hedgedoc.nix | 77 ++++++++++++ flora/services/nginx.nix | 17 +++ flora/services/picarones.nix | 26 ++++ flora/services/pleroma.nix | 178 +++++++++++++++++++++++++++ flora/services/surveys.nix | 23 ++++ hosts/abbenay/configuration.nix | 58 --------- hosts/abbenay/hardware-configuration.nix | 35 ------ hosts/chaski/configuration.nix | 50 -------- hosts/chaski/hardware-configuration.nix | 23 ---- hosts/chaski/services/VaaS/.gitignore | 1 - hosts/chaski/services/VaaS/CHANGELOG.md | 5 - hosts/chaski/services/VaaS/app/Main.hs | 58 --------- hosts/chaski/services/VaaS/default.nix | 30 ----- hosts/chaski/services/VaaS/haskell.cabal | 35 ------ hosts/chaski/services/VaaS/index.html | 46 ------- hosts/chaski/services/exneuland.nix | 58 --------- hosts/chaski/services/geolocation.nix | 6 - hosts/chaski/services/gtfs.nix | 38 ------ hosts/chaski/services/jitsi.nix | 59 --------- hosts/chaski/services/uplcg.nix | 23 ---- hosts/chaski/services/woitb.nix | 32 ----- hosts/chaski/services/woitb/index.html | 124 ------------------- hosts/chaski/services/woitb/info.html | 180 ---------------------------- hosts/chaski/services/workadventure.nix | 93 -------------- hosts/cyberbox/configuration.nix | 59 --------- hosts/cyberbox/hardware-configuration.nix | 31 ----- hosts/flora/configuration.nix | 72 ----------- hosts/flora/hardware-configuration.nix | 25 ---- hosts/flora/services/blog.nix | 9 -- hosts/flora/services/cgit.nix | 94 --------------- hosts/flora/services/daemoniones.nix | 34 ------ hosts/flora/services/dockerhub.nix | 23 ---- hosts/flora/services/hedgedoc.nix | 77 ------------ hosts/flora/services/nginx.nix | 17 --- hosts/flora/services/picarones.nix | 26 ---- hosts/flora/services/pleroma.nix | 178 --------------------------- hosts/flora/services/surveys.nix | 23 ---- pkgs/default.nix | 17 --- pkgs/exneuland.nix | 32 ----- 71 files changed, 1823 insertions(+), 2025 deletions(-) create mode 100644 abbenay/configuration.nix create mode 100644 abbenay/hardware-configuration.nix delete mode 100644 assets/ilztal.live/geolocation/index.html delete mode 100644 assets/ilztal.live/geolocation/mapview.html delete mode 100644 assets/ilztal.live/geolocation/view.html create mode 100644 chaski/configuration.nix create mode 100644 chaski/hardware-configuration.nix create mode 100644 chaski/ilztal.live/geolocation/index.html create mode 100644 chaski/ilztal.live/geolocation/mapview.html create mode 100644 chaski/ilztal.live/geolocation/view.html create mode 100644 chaski/services/VaaS/.gitignore create mode 100644 chaski/services/VaaS/CHANGELOG.md create mode 100644 chaski/services/VaaS/app/Main.hs create mode 100644 chaski/services/VaaS/default.nix create mode 100644 chaski/services/VaaS/haskell.cabal create mode 100644 chaski/services/VaaS/index.html create mode 100644 chaski/services/geolocation.nix create mode 100644 chaski/services/gtfs.nix create mode 100644 chaski/services/jitsi.nix create mode 100644 chaski/services/uplcg.nix create mode 100644 chaski/services/woitb.nix create mode 100644 chaski/services/woitb/index.html create mode 100644 chaski/services/woitb/info.html create mode 100644 cyberbox/configuration.nix create mode 100644 cyberbox/hardware-configuration.nix create mode 100644 flora/configuration.nix create mode 100644 flora/hardware-configuration.nix create mode 100644 flora/services/blog.nix create mode 100644 flora/services/cgit.nix create mode 100644 flora/services/daemoniones.nix create mode 100644 flora/services/dockerhub.nix create mode 100644 flora/services/hedgedoc.nix create mode 100644 flora/services/nginx.nix create mode 100644 flora/services/picarones.nix create mode 100644 flora/services/pleroma.nix create mode 100644 flora/services/surveys.nix delete mode 100644 hosts/abbenay/configuration.nix delete mode 100644 hosts/abbenay/hardware-configuration.nix delete mode 100644 hosts/chaski/configuration.nix delete mode 100644 hosts/chaski/hardware-configuration.nix delete mode 100644 hosts/chaski/services/VaaS/.gitignore delete mode 100644 hosts/chaski/services/VaaS/CHANGELOG.md delete mode 100644 hosts/chaski/services/VaaS/app/Main.hs delete mode 100644 hosts/chaski/services/VaaS/default.nix delete mode 100644 hosts/chaski/services/VaaS/haskell.cabal delete mode 100644 hosts/chaski/services/VaaS/index.html delete mode 100644 hosts/chaski/services/exneuland.nix delete mode 100644 hosts/chaski/services/geolocation.nix delete mode 100644 hosts/chaski/services/gtfs.nix delete mode 100644 hosts/chaski/services/jitsi.nix delete mode 100644 hosts/chaski/services/uplcg.nix delete mode 100644 hosts/chaski/services/woitb.nix delete mode 100644 hosts/chaski/services/woitb/index.html delete mode 100644 hosts/chaski/services/woitb/info.html delete mode 100644 hosts/chaski/services/workadventure.nix delete mode 100644 hosts/cyberbox/configuration.nix delete mode 100644 hosts/cyberbox/hardware-configuration.nix delete mode 100644 hosts/flora/configuration.nix delete mode 100644 hosts/flora/hardware-configuration.nix delete mode 100644 hosts/flora/services/blog.nix delete mode 100644 hosts/flora/services/cgit.nix delete mode 100644 hosts/flora/services/daemoniones.nix delete mode 100644 hosts/flora/services/dockerhub.nix delete mode 100644 hosts/flora/services/hedgedoc.nix delete mode 100644 hosts/flora/services/nginx.nix delete mode 100644 hosts/flora/services/picarones.nix delete mode 100644 hosts/flora/services/pleroma.nix delete mode 100644 hosts/flora/services/surveys.nix delete mode 100644 pkgs/default.nix delete mode 100644 pkgs/exneuland.nix diff --git a/abbenay/configuration.nix b/abbenay/configuration.nix new file mode 100644 index 0000000..2aabaa7 --- /dev/null +++ b/abbenay/configuration.nix @@ -0,0 +1,58 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + ]; + + services.flatpak.enable = true; + services.avahi.enable = true; + services.avahi.nssmdns = true; + + services.xserver = { + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; + }; + services.gnome.gnome-keyring.enable = pkgs.lib.mkForce false; + + environment.systemPackages = with pkgs; [ + gnome3.gnome-tweaks + flatpak flatpak-builder + # for mounting samba + cifs-utils + ]; + + networking = { + hostName = "matthias-nix"; + + useDHCP = false; + interfaces.enp3s0.useDHCP = true; + # networkmanager shouldn't handle nixos container + networkmanager.unmanaged = [ "interface-name:ve-*" ]; + }; + # nixos containers should have internet access + networking.nat = { + enable = true; + internalInterfaces = ["ve-+"]; + externalInterface = "eth0"; + }; + + boot = { + extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; + kernelModules = [ "v4l2loopback" ]; + }; + + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + + # 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 = "20.03"; # Did you read the comment? + +} diff --git a/abbenay/hardware-configuration.nix b/abbenay/hardware-configuration.nix new file mode 100644 index 0000000..876431d --- /dev/null +++ b/abbenay/hardware-configuration.nix @@ -0,0 +1,35 @@ +# 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" "ahci" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/ba8853b3-6e52-49d6-a250-6d99b8dfe6d6"; + fsType = "ext4"; + }; + fileSystems."/home" = + { device = "/dev/disk/by-label/nix-space"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/0F28-FE85"; + fsType = "vfat"; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/6e9fddfc-99d2-46d2-bcb4-d8c5e1c19d38"; } + ]; + + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} diff --git a/assets/ilztal.live/geolocation/index.html b/assets/ilztal.live/geolocation/index.html deleted file mode 100644 index 052a9fa..0000000 --- a/assets/ilztal.live/geolocation/index.html +++ /dev/null @@ -1,179 +0,0 @@ - - -
- - -
- Latitude:
- Longitude:
- Altitude:
- Accuracy:
- Speed:
- Angle:
-
- - -
- - - - - - -