Compare commits

..

No commits in common. "9b1e86cde45b3c910794ebda10acef0fdcab8dc4" and "9e3a4341f7cd0e87aaa508aeda13559d6d2c6159" have entirely different histories.

6 changed files with 55 additions and 92 deletions

View file

@ -20,11 +20,11 @@
]
},
"locked": {
"lastModified": 1724006173,
"narHash": "sha256-1ROh0buuxiMyc6eIb3CIbJsmYO7PhLqSYs55mOx1XTk=",
"lastModified": 1723405438,
"narHash": "sha256-bpmC2m7OhlDvqgQZdZ2jBLyeIkq/Jld3X4bqRAxBSp8=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "7f8df01d4297b9068a9592400f16044602844f86",
"rev": "9312aa28271c91e5d67ecb9def527b2bbcff0e66",
"type": "github"
},
"original": {
@ -121,11 +121,11 @@
]
},
"locked": {
"lastModified": 1723803910,
"narHash": "sha256-yezvUuFiEnCFbGuwj/bQcqg7RykIEqudOy/RBrId0pc=",
"lastModified": 1723202784,
"narHash": "sha256-qbhjc/NEGaDbyy0ucycubq4N3//gDFFH3DOmp1D3u1Q=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "bfef0ada09e2c8ac55bbcd0831bd0c9d42e651ba",
"rev": "c7012d0c18567c889b948781bc74a501e92275d1",
"type": "github"
},
"original": {
@ -240,11 +240,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1724016119,
"narHash": "sha256-ricYM9Ethzai2l2qCK6Bkgfg53FtzWuzaVIDzZ7Ve1Y=",
"lastModified": 1723579231,
"narHash": "sha256-PL9C3aOetj+TS+vXvNhh7q5bm3g70oakg+iSu5eQBUQ=",
"ref": "refs/heads/main",
"rev": "83d88fa56467a2b749fb2320e1595281107bd326",
"revCount": 5111,
"rev": "3b4aabe04c7756fb0a70d78b6f0e701228f46345",
"revCount": 5087,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -391,11 +391,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1724045683,
"narHash": "sha256-M3MsdxGFrAQr4s7WNnp+D0xKQl3+k6Sse5ulrShjL+8=",
"lastModified": 1723528508,
"narHash": "sha256-4++qlOlqMoZz3h/g48f+TY3r75h+EBToRNmgcVWKpsE=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "61106a5385b3c1bd7e1ae9dca538f103a357bbf0",
"rev": "f019c7b0e7f478e4aaf2b406785a8d6ec6d1957d",
"type": "github"
},
"original": {
@ -407,11 +407,11 @@
"neovim-src": {
"flake": false,
"locked": {
"lastModified": 1723951683,
"narHash": "sha256-qgVJ4nhOLaPtK4qTFoAcOARcO/pewCm2ZkXgVzyrFhg=",
"lastModified": 1723504195,
"narHash": "sha256-Tt+UtP3iSQATu2CUgFgtPkobASE7Rbf2AWZeLH8fthU=",
"owner": "neovim",
"repo": "neovim",
"rev": "33464189bc02b2555e26dc4e9f7b3fbbcdd02490",
"rev": "9768e88f3891b5594eb2d556bd3bdf40c61d46e1",
"type": "github"
},
"original": {
@ -427,11 +427,11 @@
]
},
"locked": {
"lastModified": 1723950649,
"narHash": "sha256-dHMkGjwwCGj0c2MKyCjRXVBXq2Sz3TWbbM23AS7/5Hc=",
"lastModified": 1723352546,
"narHash": "sha256-WTIrvp0yV8ODd6lxAq4F7EbrPQv0gscBnyfn559c3k8=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "392828aafbed62a6ea6ccab13728df2e67481805",
"rev": "ec78079a904d7d55e81a0468d764d0fffb50ac06",
"type": "github"
},
"original": {
@ -442,11 +442,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1723637854,
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
"lastModified": 1723175592,
"narHash": "sha256-M0xJ3FbDUc4fRZ84dPGx5VvgFsOzds77KiBMW/mMTnI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
"rev": "5e0ca22929f3342b19569b21b2f3462f053e497b",
"type": "github"
},
"original": {
@ -474,11 +474,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1723637854,
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
"lastModified": 1723362943,
"narHash": "sha256-dFZRVSgmJkyM0bkPpaYRtG/kRMRTorUIDj8BxoOt1T4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
"rev": "a58bc8ad779655e790115244571758e8de055e3d",
"type": "github"
},
"original": {
@ -489,11 +489,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1723891200,
"narHash": "sha256-uljX21+D/DZgb9uEFFG2dkkQbPZN+ig4Z6+UCLWFVAk=",
"lastModified": 1723221148,
"narHash": "sha256-7pjpeQlZUNQ4eeVntytU3jkw9dFK3k1Htgk2iuXjaD8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a0d6390cb3e82062a35d0288979c45756e481f60",
"rev": "154bcb95ad51bc257c2ce4043a725de6ca700ef6",
"type": "github"
},
"original": {
@ -505,11 +505,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1723938990,
"narHash": "sha256-9tUadhnZQbWIiYVXH8ncfGXGvkNq3Hag4RCBEMUk7MI=",
"lastModified": 1723556749,
"narHash": "sha256-+CHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c42fcfbdfeae23e68fc520f9182dde9f38ad1890",
"rev": "4a92571f9207810b559c9eac203d1f4d79830073",
"type": "github"
},
"original": {
@ -520,11 +520,11 @@
},
"nur": {
"locked": {
"lastModified": 1724046783,
"narHash": "sha256-UE+12mlSsxd29XakXp4vBLyxS3RNADLXlXRB/vojSgk=",
"lastModified": 1723588302,
"narHash": "sha256-W6DOAEA8rh6ucmbtaY3+6LJYjcRo8lNPd0QWV6c97W4=",
"owner": "nix-community",
"repo": "NUR",
"rev": "5baef6275414307bd481520770428dfd96bea485",
"rev": "c780827a7878d1b490a589fc289fd6de7b5d84b3",
"type": "github"
},
"original": {
@ -554,11 +554,11 @@
]
},
"locked": {
"lastModified": 1724034091,
"narHash": "sha256-b1g7w0sw+MDAhUAeCoX1vlTghsqcDZkxr+k9OZmxPa8=",
"lastModified": 1723515680,
"narHash": "sha256-nHdKymsHCVIh0Wdm4MvSgxcTTg34FJIYHRQkQYaSuvk=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "c7d36e0947826e0751a5214ffe82533fbc909bc0",
"rev": "4ee3d9e9569f70d7bb40f28804d6fe950c81eab3",
"type": "github"
},
"original": {

View file

@ -58,23 +58,6 @@
];
};
services.caddy.virtualHosts."public.tigor.web.id".extraConfig = /*caddy*/ ''
file_server browse
root * /nas/public
'';
systemd.tmpfiles.settings = {
"100-nas-public-dir" = {
"/nas/public" = {
d = {
group = config.profile.user.name;
mode = "0777";
user = config.profile.user.name;
};
};
};
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl = {

View file

@ -7,7 +7,6 @@ in
config = mkIf cfg.enable {
home.packages = with pkgs; [
prismlauncher
antimicrox
];
};
}

View file

@ -38,7 +38,6 @@ in
reddit-enhancement-suite
vimium-c
violentmonkey
sidebery
];
settings = {
"extensions.autoDisableScopes" = 0;

View file

@ -79,16 +79,6 @@ in
dockerfile-language-server-nodejs
hadolint
# For Peek markdown viewer
deno
# Golang debuggers
delve
gdlv
luajitPackages.tiktoken_core # For copilot chat
luajitPackages.luarocks
lua51Packages.lua
];
};
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
let
name = "minecraft";
podman = config.profile.podman;
@ -46,37 +46,29 @@ in
EOF 200
'';
systemd =
let serviceName = "podman-${name}"; in
{
tmpfiles.settings."${serviceName}-mount".${rootVolume}.d = {
group = config.profile.user.name;
mode = "0755";
user = config.profile.user.name;
};
services."${serviceName}-autorestart" = {
description = "Podman container ${name} autorestart";
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.podman}/bin/podman restart podman-${name}";
};
};
timers."${serviceName}-autorestart" = {
description = "Podman container ${name} autorestart";
timerConfig = {
OnCalendar = "*-*-* 04:00:00";
};
wantedBy = [ "timers.target" ];
};
};
system.activationScripts."podman-${name}" = ''
mkdir -p ${rootVolume}
chown ${uid}:${gid} ${rootVolume}
'';
virtualisation.oci-containers.containers.${name} = {
inherit image;
hostname = name;
autoStart = true;
user = "${uid}:${gid}";
environment = {
# UID = uid;
# GID = gid;
# EULA = "TRUE";
# TZ = "Asia/Jakarta";
# SERVER_NAME = "Hutasuhut";
# DEFAULT_PLAYER_PERMISSION_LEVEL = "operator";
# LEVEL_NAME = "Hutasuhut";
# MAX_THREADS = "0"; # Use as many as possible
# ALLOW_LIST_USERS = strings.concatStringsSep "," (
# map (user: "${user.username}:${user.xuid}") users
# );
};
ports = [
# Java Edition Ports
"25565:25565/udp"