diff --git a/flake.nix b/flake.nix index a196996..1cf39e9 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ repo = "nidus-sync"; rev = "b31ca6c83ed96dbb1d15c94bcf57cfdb07a11b5a"; }; + nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; nixvim = { url = "github:nix-community/nixvim/nixos-25.05"; @@ -37,12 +38,12 @@ outputs = inputs@{ self, disko, home-manager, nixpkgs, nixvim, sops-nix, timecard-bot, ...}: let configFiles = pkgs.stdenv.mkDerivation { - name = "config-files"; - src = ./configs; installPhase = '' mkdir -p $out cp -r * $out/ ''; + name = "config-files"; + src = ./configs; }; pkgs = nixpkgs.legacyPackages.${system}; system = "x86_64-linux"; diff --git a/host/nocix/amd-legacy-sexcore/disk-config.nix b/host/nocix/amd-legacy-sexcore/disk-config.nix index aba7f50..e7f1221 100644 --- a/host/nocix/amd-legacy-sexcore/disk-config.nix +++ b/host/nocix/amd-legacy-sexcore/disk-config.nix @@ -61,22 +61,11 @@ type = "lvm_vg"; lvs = { root = { - size = "50G"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - mountOptions = [ - "defaults" - ]; - }; - }; - var = { size = "100%FREE"; content = { type = "filesystem"; format = "ext4"; - mountpoint = "/var"; + mountpoint = "/"; mountOptions = [ "defaults" ]; diff --git a/host/nocix/amd-legacy-sexcore/network.nix b/host/nocix/amd-legacy-sexcore/network.nix index 3b17572..a4863e6 100644 --- a/host/nocix/amd-legacy-sexcore/network.nix +++ b/host/nocix/amd-legacy-sexcore/network.nix @@ -11,11 +11,13 @@ }; domain = "gleipnir.technology"; firewall = { - enable = true; - interfaces.enp3s0 = { + allowedUDPPorts = [ 22 80 443 7000 16652 ]; + allowedTCPPorts = [ 22 80 443 7000 16652 ]; + enable = false; + /*interfaces.enp3s0 = { allowedUDPPorts = [ 22 80 443 7000 16652 ]; allowedTCPPorts = [ 22 80 443 7000 16652 ]; - }; + };*/ }; hostName = "nocix-amd-legacy-sexcore"; interfaces.enp3s0 = {