momo: NixOS 23.11, fix build (treefmt), move to flake-parts #262

Merged
teutat3s merged 12 commits from momo/nixos-23.11 into momo/main 2024-01-08 22:50:39 +00:00
4 changed files with 7 additions and 8 deletions
Showing only changes of commit 31284b3289 - Show all commits

View file

@ -1,4 +1,4 @@
{ withSystem, self, inputs, ...}:
{ self, inputs, ...}:
{
flake = {
nixosConfigurations = {

View file

@ -3,21 +3,21 @@
lib,
inputs,
pkgs,
self,
flake,
...
}: {
age.secrets.erpnext-admin-password = {
file = "${self}/secrets/erpnext-admin-password.age";
file = "${flake.self}/secrets/erpnext-admin-password.age";
mode = "700";
owner = "erpnext";
};
age.secrets.erpnext-db-root-password = {
file = "${self}/secrets/erpnext-db-root-password.age";
file = "${flake.self}/secrets/erpnext-db-root-password.age";
mode = "700";
owner = "erpnext";
};
age.secrets.erpnext-db-user-password = {
file = "${self}/secrets/erpnext-db-user-password.age";
file = "${flake.self}/secrets/erpnext-db-user-password.age";
mode = "700";
owner = "erpnext";
};

View file

@ -3,11 +3,11 @@
lib,
inputs,
pkgs,
self,
flake,
...
}: {
age.secrets.keycloak-database-password = {
file = "${self}/secrets/keycloak-database-password.age";
file = "${flake.self}/secrets/keycloak-database-password.age";
mode = "700";
};

View file

@ -24,7 +24,6 @@
registry = {
nixpkgs.flake = flake.inputs.nixpkgs;
unstable.flake = flake.inputs.unstable;
master.flake = flake.inputs.master;
system.flake = flake.self;
};