am stupid

This commit is contained in:
emily 2024-01-11 09:58:07 +01:00
parent a294325f35
commit fa423ae5aa
Signed by: emily
GPG key ID: F6F4C66207FCF995
3 changed files with 14 additions and 22 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, inputs, ... }: { config, inputs, ... }:
let let
bmpPort = 11019; bmpPort = 11019;
autoIndex = '' autoIndex = ''

View file

@ -3,7 +3,9 @@
"fernglas": { "fernglas": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs" "nixpkgs": [
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1703863936, "lastModified": 1703863936,
@ -53,22 +55,6 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1699099776,
"narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1704722960, "lastModified": 1704722960,
"narHash": "sha256-mKGJ3sPsT6//s+Knglai5YflJUF2DGj7Ai6Ynopz0kI=", "narHash": "sha256-mKGJ3sPsT6//s+Knglai5YflJUF2DGj7Ai6Ynopz0kI=",
@ -88,7 +74,7 @@
"inputs": { "inputs": {
"fernglas": "fernglas", "fernglas": "fernglas",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs"
} }
}, },
"systems": { "systems": {

View file

@ -3,14 +3,20 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-hardware.url = "github:nixos/nixos-hardware";
fernglas.url = "github:wobcom/fernglas"; # fernglas.url = "github:wobcom/fernglas";
fernglas = {
type = "github";
owner = "wobcom";
repo = "fernglas";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, nixos-hardware, ... }@attrs: { outputs = { nixpkgs, nixos-hardware, fernglas, ... }@inputs: {
nixosConfigurations = { nixosConfigurations = {
web02 = nixpkgs.lib.nixosSystem { web02 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = attrs; specialArgs = { inherit inputs; };
modules = [ modules = [
./config/common ./config/common
./config/common-lxc.nix ./config/common-lxc.nix