Update flake

This commit is contained in:
thiloho
2024-02-03 21:01:15 +01:00
parent 466ba8813a
commit 61c4520841
4 changed files with 20 additions and 12 deletions

18
flake.lock generated
View File

@@ -113,11 +113,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1704383912, "lastModified": 1706985585,
"narHash": "sha256-Be7O73qoOj/z+4ZCgizdLlu+5BkVvO2KO299goZ9cW8=", "narHash": "sha256-ptshv4qXiC6V0GCfpABz88UGGPNwqs5tAxaRUKbk1Qo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "26b8adb300e50efceb51fff6859a1a6ba1ade4f7", "rev": "1ca210648a6ca9b957efde5da957f3de6b1f0c45",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -128,11 +128,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1704458188, "lastModified": 1706834982,
"narHash": "sha256-f6BYEuIqnbrs6J/9m1/1VdkJ6d63hO9kUC09kTPuOqE=", "narHash": "sha256-3CfxA7gZ+DVv/N9Pvw61bV5Oe/mWfxYPyVQGqp9TMJA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "172385318068519900a7d71c1024242fa6af75f0", "rev": "83e571bb291161682b9c3ccd48318f115143a550",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -144,11 +144,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1704194953, "lastModified": 1706732774,
"narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=", "narHash": "sha256-hqJlyJk4MRpcItGYMF+3uHe8HvxNETWvlGtLuVpqLU0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6", "rev": "b8b232ae7b8b144397fdb12d20f592e5e7c1a64d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -12,11 +12,17 @@
networking = { networking = {
hostName = "pc"; hostName = "pc";
firewall = { firewall = {
allowedTCPPorts = [ 5173 8081 ]; allowedTCPPorts = [ 5173 8081 53317 ];
allowedUDPPorts = [ 5173 8081 ]; allowedUDPPorts = [ 5173 8081 53317 ];
}; };
}; };
boot.kernelParams = [ "amd_iommu=on" ];
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.swtpm.enable = true;
programs.virt-manager.enable = true;
services = { services = {
syncthing = { syncthing = {
enable = true; enable = true;
@@ -43,7 +49,7 @@
home-manager.users.thiloho = { pkgs, lib, ... }: { home-manager.users.thiloho = { pkgs, lib, ... }: {
programs.git.signing.key = "5ECD00BDC15A987E"; programs.git.signing.key = "5ECD00BDC15A987E";
home = { home = {
packages = with pkgs; [ blender inkscape libcec ]; packages = with pkgs; [ blender inkscape localsend ];
stateVersion = "23.05"; stateVersion = "23.05";
}; };
}; };

View File

@@ -66,6 +66,7 @@
difficulty = 3; difficulty = 3;
max-players = 10; max-players = 10;
motd = "Thilo's SMP"; motd = "Thilo's SMP";
white-list = true;
}; };
}; };
nginx = { nginx = {

View File

@@ -58,6 +58,7 @@
astro-build.astro-vscode astro-build.astro-vscode
dbaeumer.vscode-eslint dbaeumer.vscode-eslint
bradlc.vscode-tailwindcss bradlc.vscode-tailwindcss
esbenp.prettier-vscode
]; ];
userSettings = { userSettings = {
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;