Add c3d2 user module, update nixos-modules
This commit is contained in:
parent
2a4dfc5305
commit
1cb5212616
|
@ -11,6 +11,10 @@ lib.mkMerge [
|
||||||
zfs.forceImportRoot = false;
|
zfs.forceImportRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
c3d2 = {
|
||||||
|
addKnownHosts = true;
|
||||||
|
};
|
||||||
|
|
||||||
documentation.nixos.enable = false;
|
documentation.nixos.enable = false;
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
@ -128,11 +132,6 @@ lib.mkMerge [
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: move to nixos-modules
|
|
||||||
services = {
|
|
||||||
zfs.autoScrub.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
# Do not break the boot
|
# Do not break the boot
|
||||||
enableEmergencyMode = false;
|
enableEmergencyMode = false;
|
||||||
|
|
63
flake.lock
63
flake.lock
|
@ -155,6 +155,29 @@
|
||||||
"url": "https://gitea.c3d2.de/astro/buzzrelay"
|
"url": "https://gitea.c3d2.de/astro/buzzrelay"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"c3d2-user-module": {
|
||||||
|
"inputs": {
|
||||||
|
"nixos-modules": [
|
||||||
|
"nixos-modules"
|
||||||
|
],
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"nixos"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1672719809,
|
||||||
|
"narHash": "sha256-LSPhjSSdPTTISCokUE//wvkAnndjmSzsMKZdwFcM1kg=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "7dcb88931dbe7f5b9c57688a31e4e391e1080fe3",
|
||||||
|
"revCount": 1,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://gitea.c3d2.de/C3D2/nix-user-module.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://gitea.c3d2.de/C3D2/nix-user-module.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"caveman": {
|
"caveman": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fenix": [
|
"fenix": [
|
||||||
|
@ -381,14 +404,16 @@
|
||||||
},
|
},
|
||||||
"nixos-modules": {
|
"nixos-modules": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": [
|
||||||
|
"nixos"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1672699474,
|
"lastModified": 1672719740,
|
||||||
"narHash": "sha256-twlcqg1dNfz7cKnjWPndlt0CQgq0QD+uCdQDvWiYXUE=",
|
"narHash": "sha256-Q7t1b+THjGldMB/bxKj8IqUsvmEZiD+KTuFqPBXrR+E=",
|
||||||
"owner": "SuperSandro2000",
|
"owner": "SuperSandro2000",
|
||||||
"repo": "nixos-modules",
|
"repo": "nixos-modules",
|
||||||
"rev": "3d9678ed6079171ec434dfad9c3a9c8dc0d4403f",
|
"rev": "f8b9ee8d23760845528ace298769c71609cc29c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -397,21 +422,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-lib": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1671324337,
|
|
||||||
"narHash": "sha256-OZVfw69LQi2RckjPdooYrhw1I2vd28QdzEGJwI3w+jk=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"rev": "b4dd796b65c0bee6185fd2b5c84c2a207231e28f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"oparl-scraper": {
|
"oparl-scraper": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -474,6 +484,7 @@
|
||||||
"bevy-mandelbrot": "bevy-mandelbrot",
|
"bevy-mandelbrot": "bevy-mandelbrot",
|
||||||
"buzz2elastic": "buzz2elastic",
|
"buzz2elastic": "buzz2elastic",
|
||||||
"buzzrelay": "buzzrelay",
|
"buzzrelay": "buzzrelay",
|
||||||
|
"c3d2-user-module": "c3d2-user-module",
|
||||||
"caveman": "caveman",
|
"caveman": "caveman",
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
@ -529,11 +540,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1672626196,
|
"lastModified": 1672712534,
|
||||||
"narHash": "sha256-BfdLrMqxqa4YA1I1wgPBQyu4FPzL0Tp4WI2C5S6BuYo=",
|
"narHash": "sha256-8S0DdMPcbITnlOu0uA81mTo3hgX84wK8S9wS34HEFY4=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "c8bf9c162bb3f734cf357846e995eb70b94e2bcd",
|
"rev": "69fb7bf0a8c40e6c4c197fa1816773774c8ac59f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -768,11 +779,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1672094890,
|
"lastModified": 1672714743,
|
||||||
"narHash": "sha256-8tkgoE9sdkWFBUv1DSb2JqHLGruEvRVuyIlTA1WawCA=",
|
"narHash": "sha256-OwuzYuT6X+KmgNkiQ3p0bCpqf/l2ud6BmDFm6F7GlvU=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "14bdeccb453b7faafe53f656cdf8d439308d34b8",
|
"rev": "7a872426e7ccea53da8add16b7a5dade4703f47d",
|
||||||
"revCount": 1713,
|
"revCount": 1714,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.c3d2.de/zentralwerk/network.git"
|
"url": "https://gitea.c3d2.de/zentralwerk/network.git"
|
||||||
},
|
},
|
||||||
|
|
15
flake.nix
15
flake.nix
|
@ -11,7 +11,6 @@
|
||||||
nixos.url = "github:SuperSandro2000/nixpkgs/nixos-22.11";
|
nixos.url = "github:SuperSandro2000/nixpkgs/nixos-22.11";
|
||||||
nixos-mobilizon.url = "github:minijackson/nixpkgs/init-mobilizon";
|
nixos-mobilizon.url = "github:minijackson/nixpkgs/init-mobilizon";
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
nixos-modules.url = "github:SuperSandro2000/nixos-modules";
|
|
||||||
# nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
# nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
# nixos-unstable-simd.url = "github:SuperSandro2000/nixpkgs/nixos-unstable-simd";
|
# nixos-unstable-simd.url = "github:SuperSandro2000/nixpkgs/nixos-unstable-simd";
|
||||||
|
|
||||||
|
@ -75,6 +74,13 @@
|
||||||
naersk.inputs.nixpkgs.follows = "nixpkgs";
|
naersk.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
c3d2-user-module = {
|
||||||
|
url = "git+https://gitea.c3d2.de/C3D2/nix-user-module.git";
|
||||||
|
inputs = {
|
||||||
|
nixos-modules.follows = "nixos-modules";
|
||||||
|
nixpkgs-lib.follows = "nixos";
|
||||||
|
};
|
||||||
|
};
|
||||||
fenix = {
|
fenix = {
|
||||||
url = "github:nix-community/fenix";
|
url = "github:nix-community/fenix";
|
||||||
inputs.nixpkgs.follows = "nixos";
|
inputs.nixpkgs.follows = "nixos";
|
||||||
|
@ -109,6 +115,10 @@
|
||||||
nixpkgs.follows = "nixos";
|
nixpkgs.follows = "nixos";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
nixos-modules = {
|
||||||
|
url = "github:SuperSandro2000/nixos-modules";
|
||||||
|
inputs.nixpkgs-lib.follows = "nixos";
|
||||||
|
};
|
||||||
oparl-scraper = {
|
oparl-scraper = {
|
||||||
url = "github:offenesdresden/ratsinfo-scraper/oparl";
|
url = "github:offenesdresden/ratsinfo-scraper/oparl";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
@ -200,7 +210,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, alert2muc, fenix, harmonia, heliwatch, microvm, naersk, nixos, nixos-hardware, nixos-modules, buzz2elastic, buzzrelay, caveman, oparl-scraper, scrapers, secrets, skyflake, sshlogd, sops-nix, spacemsg, ticker, tigger, yammat, zentralwerk, ... }:
|
outputs = inputs@{ self, alert2muc, c3d2-user-module, fenix, harmonia, heliwatch, microvm, naersk, nixos, nixos-hardware, nixos-modules, buzz2elastic, buzzrelay, caveman, oparl-scraper, scrapers, secrets, skyflake, sshlogd, sops-nix, spacemsg, ticker, tigger, yammat, zentralwerk, ... }:
|
||||||
let
|
let
|
||||||
inherit (nixos) lib;
|
inherit (nixos) lib;
|
||||||
|
|
||||||
|
@ -253,6 +263,7 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
self.nixosModules.c3d2
|
self.nixosModules.c3d2
|
||||||
|
c3d2-user-module.nixosModule
|
||||||
nixos-modules.nixosModule
|
nixos-modules.nixosModule
|
||||||
./config
|
./config
|
||||||
./modules/audio-server.nix
|
./modules/audio-server.nix
|
||||||
|
|
Loading…
Reference in New Issue
Block a user