diff --git a/config/games/default.nix b/config/games/default.nix index f48b45cd..18718ffe 100644 --- a/config/games/default.nix +++ b/config/games/default.nix @@ -11,6 +11,14 @@ let wine-tkg-patched = pkgs.nix-gaming.wine-tkg.override { }; in { + nixpkgs.overlays = [ + (curr: prev: { + factorio = prev.factorio.override + { + version = "1.1.53"; + }; + }) + ]; home.packages = [ wine-tkg-patched pkgs.grapejuice diff --git a/config/services/gitea.nix b/config/services/gitea.nix index 919bcdb6..05d47595 100644 --- a/config/services/gitea.nix +++ b/config/services/gitea.nix @@ -76,6 +76,7 @@ enable = true; bind = "127.0.0.1"; databases = 3; + port = 6379; }; sops.secrets."services/gitea.nix" = { }; } diff --git a/config/services/postfix.nix b/config/services/postfix.nix index a28d99bb..5c3d0ae6 100644 --- a/config/services/postfix.nix +++ b/config/services/postfix.nix @@ -69,4 +69,11 @@ in tls_preempt_cipherlist = "no"; }; }; + services.postgresql.ensureUsers = [{ + name = "postfix"; + ensurePermissions = { + "DATABASE \"postfix\"" = "CONNECT"; + }; + }]; + } diff --git a/flake.lock b/flake.lock index 5241a6b3..a68963fa 100644 --- a/flake.lock +++ b/flake.lock @@ -156,11 +156,11 @@ ] }, "locked": { - "lastModified": 1642676973, - "narHash": "sha256-bLQ6n0pXYaIuNSyJnm30JGCfjmuTi59qAmj8S2ExDXI=", + "lastModified": 1642882610, + "narHash": "sha256-pmdgeJ9v6y+T0UfNQ/Z+Hdv5tPshFFra5JLF/byUA/Y=", "owner": "nix-community", "repo": "home-manager", - "rev": "7eb5106548eaab99ebeb21c87f93092de54fe931", + "rev": "c47c350f6518ed39c2a16e4fadf9137b6c559ddc", "type": "github" }, "original": { @@ -256,11 +256,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1642731654, - "narHash": "sha256-GRPo/7SnNLTHmPTudFQTI+neO/z6HOKQzQGV5qoT6wE=", + "lastModified": 1642880071, + "narHash": "sha256-NZW5BczhluZVkKblxrFqJbawUPxuC2HdKQ1t/+vKA34=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5d1520f3b6757fbddbab006e13ae291a417141aa", + "rev": "30daa988f107bc4c910c398a77b2b89864049932", "type": "github" }, "original": { @@ -272,26 +272,27 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1642856614, - "narHash": "sha256-qNJkuIA4fhF6zoo0aAmRaJwHy0fwuzvjCcBrHwtGUgA=", - "owner": "nixos", + "lastModified": 1642926511, + "narHash": "sha256-VOGQYVSp29EFQSlkwDvOkL6hvjaXT9C7rwTvgQsJ3ac=", + "owner": "darkkirb", "repo": "nixpkgs", - "rev": "14e98e59b1ef615d54ec6294f65e8f32d68cb914", + "rev": "5cfcd0b5b28d3f62c0e6a0a59878613b9f03c4dc", "type": "github" }, "original": { - "owner": "nixos", + "owner": "darkkirb", + "ref": "factorio-1.1.53", "repo": "nixpkgs", "type": "github" } }, "nur": { "locked": { - "lastModified": 1642854142, - "narHash": "sha256-DI8WAGjAM/jAHaW2+j2tEWG3UvqQ20yO6pQdd9zgSbQ=", + "lastModified": 1642919252, + "narHash": "sha256-vys7uueK4bTJWvJZHJ0OQNJ4JECFk0dddjfOlSAnIPs=", "owner": "nix-community", "repo": "NUR", - "rev": "b23310eee4b444b3f6ea120e84b922ecf0b3baca", + "rev": "45aa729c03c40d2cd1f51913d563dcc80c0b21c0", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d428ea7a..faed499c 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,8 @@ rec { description = "Lotte's NixOS installation"; # Use NixOS unstable - inputs.nixpkgs.url = "github:nixos/nixpkgs"; + #inputs.nixpkgs.url = "github:nixos/nixpkgs"; + inputs.nixpkgs.url = "github:darkkirb/nixpkgs?ref=factorio-1.1.53"; inputs.home-manager.url = "github:nix-community/home-manager"; inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs"; inputs.sops-nix.url = github:Mic92/sops-nix;