WIP
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@@ -506,16 +506,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720535198,
|
"lastModified": 1767325753,
|
||||||
"narHash": "sha256-zwVvxrdIzralnSbcpghA92tWu2DV2lwv89xZc8MTrbg=",
|
"narHash": "sha256-yA/CuWyqm+AQo2ivGy6PlYrjZBQm7jfbe461+4HF2fo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "205fd4226592cc83fd4c0885a3e4c9c400efabb5",
|
"rev": "64049ca74d63e971b627b5f3178d95642e61cedd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-23.11",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
|
|
||||||
emanote.url = "github:srid/emanote";
|
emanote.url = "github:srid/emanote";
|
||||||
emanote.inputs.emanote-template.follows = "";
|
emanote.inputs.emanote-template.follows = "";
|
||||||
@@ -30,7 +30,6 @@
|
|||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"forgejo-1.20.6-1-unstable-2024-04-18"
|
|
||||||
"jitsi-meet-1.0.8792"
|
"jitsi-meet-1.0.8792"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,9 +21,10 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.unstable.forgejo-runner;
|
package = pkgs.forgejo-runner;
|
||||||
instances."linode-nixos" = {
|
instances."linode-nixos" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
name = "Linode-Nixos";
|
||||||
url = baseUrl;
|
url = baseUrl;
|
||||||
tokenFile = ./git.ewanick.com/tokenFile;
|
tokenFile = ./git.ewanick.com/tokenFile;
|
||||||
hostPackages = with pkgs; [
|
hostPackages = with pkgs; [
|
||||||
@@ -40,7 +41,7 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services."gitea-runner-linode-nixos".serviceConfig.ReadWritePaths = "/var/www/example.com";
|
systemd.services."gitea-runner-linode-nixos".serviceConfig.ReadWritePaths = "/var/www";
|
||||||
|
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -66,8 +66,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.layout = "us";
|
services.xserver.xkb.layout = "us";
|
||||||
services.xserver.xkbOptions = "ctrl:swapcaps";
|
services.xserver.xkb.options = "ctrl:swapcaps";
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.alice = {
|
users.users.alice = {
|
||||||
|
|||||||
Reference in New Issue
Block a user