changed permissions in sops

This commit is contained in:
Tassilo - 2022-05-31 19:31:57 +02:00
parent 44e046a2aa
commit 1a22e2a62a
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
3 changed files with 20 additions and 21 deletions

View File

@ -29,11 +29,11 @@
"utils": "utils_2"
},
"locked": {
"lastModified": 1653767389,
"narHash": "sha256-lEkjGZ6pLzJr+0HaNr6+is6yJ7kjZxabLclwIq8Fjbo=",
"lastModified": 1653948612,
"narHash": "sha256-IAwzgGcd/EEQ699ll61Fvtlob4O3Zuxv5KxpU4Zjn0Y=",
"owner": "dump-dvb",
"repo": "data-accumulator",
"rev": "56297b766ab9370be89cb002449ef8b29436673c",
"rev": "fb56fdc4bdd9070131433c799e8d19c59c9a2d74",
"type": "github"
},
"original": {
@ -263,11 +263,11 @@
},
"nixpkgs-21_11": {
"locked": {
"lastModified": 1653132211,
"narHash": "sha256-5ugEYisGqixwarfn3BJvuWDnO6gT/AoxlsA6jnG8Fv8=",
"lastModified": 1653819578,
"narHash": "sha256-a1vaUl6VZz1NsWxMw0i5lRyHIOVUIuMZdQzV+4s+rY8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b5991e4971523a5fcc9413b9003b58e5c15aa7d8",
"rev": "baa82d4b626288c7439eeea073a18aabbe435991",
"type": "github"
},
"original": {
@ -279,11 +279,11 @@
},
"nixpkgs-22_05": {
"locked": {
"lastModified": 1653460991,
"narHash": "sha256-8MgFe84UUKw5k5MybirNH0S+oSluN2cRQGt+ZkW+dxQ=",
"lastModified": 1653822412,
"narHash": "sha256-xZwMDQ8MdNiTwE8dcKAX1h3qCmLtuudNGxmFUX3xIes=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0c3bf3a5c3ab6be29138b88900c417660a284fbd",
"rev": "db78278ff296cf21eca7e8c08ee99707387a54fa",
"type": "github"
},
"original": {
@ -295,11 +295,11 @@
},
"nixpkgs_10": {
"locked": {
"lastModified": 1653565689,
"narHash": "sha256-xdJ6bmPxDPIMItZJWsDxopPXUTAFPWMkNkyOOcptWSc=",
"lastModified": 1653918726,
"narHash": "sha256-C+BpRKWjuwR4a9R0w5V5AFaQiyDtRPSRec7VJCX1NI4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9bc0e974545d5bc4c24e1ed047be0dc4e30e494b",
"rev": "39945562539b572eb43915992ef82f46a7176364",
"type": "github"
},
"original": {
@ -463,11 +463,11 @@
},
"nixpkgs_9": {
"locked": {
"lastModified": 1653738054,
"narHash": "sha256-IaR8iLN4Ms3f5EjU1CJkXSc49ZzyS5qv03DtVAti6/s=",
"lastModified": 1653918805,
"narHash": "sha256-6ahwAnBNGgqSNSn/6RnsxrlFi+fkA+RyT6o/5S1915o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "17b62c338f2a0862a58bb6951556beecd98ccda9",
"rev": "a0a69be4b5ee63f1b5e75887a406e9194012b492",
"type": "github"
},
"original": {
@ -520,11 +520,11 @@
"nixpkgs-22_05": "nixpkgs-22_05"
},
"locked": {
"lastModified": 1653462763,
"narHash": "sha256-n0beO7WNvAeEtTtnetzQCaGs615tU/DfM97k8r/7bUw=",
"lastModified": 1653827546,
"narHash": "sha256-va51HFf7UwktvriIbe9pjRPMr7p8IaxrwcDlZe7twzI=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "7385b12722ce903e477878147794bed9040227e2",
"rev": "36b5901782e7fbfc191cace910f67f8b8743f678",
"type": "github"
},
"original": {

View File

@ -18,7 +18,6 @@ in
wantedBy = [ "multi-user.target" ];
script = ''
export POSTGRES_PASSWORD=$(cat /root/postgres_password)
exec ${pkgs.clicky-bunty-server}/bin/clicky-bunty-server --host 127.0.0.1 --port ${toString port}&
'';

View File

@ -7,10 +7,10 @@
wg-seckey-staging = { };
wg-seckey = { };
postgres_password_hash_salt = {
owner = config.users.users.postgres.name;
owner = config.users.users.clicky-bunty-server.name;
};
postgres_password = {
owner = config.users.users.postgres.name;
owner = config.users.users.clicky-bunty-server.name;
};
};
}