small fixes

This commit is contained in:
Dmitriy Kholkin 2023-04-08 18:00:13 +03:00
parent 68aa781ec1
commit fd4a1bbb63
5 changed files with 11 additions and 5 deletions

View File

@ -264,7 +264,9 @@ in ''
zfs create -o canmount=on -o mountpoint=/media/bittorrent -o atime=off -o recordsize=16K -o compression=lz4 rpool/persistent/bittorrent
chown 1000:100 /mnt/media/bittorrent
chmod 775 /mnt/media/bittorrent
zfs create -o canmount=on -o mountpoint=/media/libvirt -o atime=off -o recordsize=16K -o compression=lz4 rpool/persistent/libvirt
zfs create -o canmount=on -o mountpoint=/var/lib/libvirt rpool/persistent/libvirt
zfs create -o canmount=on -o mountpoint=/media/libvirt rpool/persistent/libvirt-user
zfs create -o canmount=on -o mountpoint=/media/libvirt/images -o atime=off -o recordsize=16K -o compression=lz4 rpool/persistent/libvirt-user/images
chown 1000:67 /mnt/media/libvirt
chmod 775 /mnt/media/libvirt
@ -285,6 +287,9 @@ in ''
zfs snapshot rpool/persistent/nixos-containers@empty
zfs snapshot rpool/persistent/bittorrent@empty
zfs snapshot rpool/persistent/libvirt@empty
zfs snapshot rpool/persistent/libvirt-user@empty
zfs snapshot rpool/persistent/libvirt-user/images@empty
if [ "${cfg.createBootPool}" = "true" ]; then
pprint "Create ZFS boot pool on $bootPool"

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "ceserver";
version = "7.4";
version = "7.5";
src = fetchFromGitHub {
owner = "cheat-engine";
repo = "cheat-engine";
rev = version;
hash = "sha256-9f4svWpH6kltLQL4w58YPQklLAuLAHMXoVAa4h0jlFk=";
hash = "sha256-EG2d4iXhBGmVougCi27O27SrC+L3P4alrgnUvBsT1Ic=";
};
buildPhase = ''

View File

@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
homepage = https://github.com/haiwen/seadrive-fuse;
homepage = "https://github.com/haiwen/seadrive-fuse";
description = "SeaDrive daemon with FUSE interface";
license = licenses.gpl3;
platforms = platforms.all;

View File

@ -1,4 +1,5 @@
{ config, pkgs, lib, ... }: {
security.apparmor.enable = true;
programs.firejail.enable = true;
users.mutableUsers = false;

View File

@ -33,7 +33,7 @@ with config.deviceSpecific; {
disk = {
interval = 60;
format = "{free}";
path = "/";
path = "/home";
};
"custom/separator" = {
format = "|";