small fixes
This commit is contained in:
parent
68aa781ec1
commit
fd4a1bbb63
@ -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
|
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
|
chown 1000:100 /mnt/media/bittorrent
|
||||||
chmod 775 /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
|
chown 1000:67 /mnt/media/libvirt
|
||||||
chmod 775 /mnt/media/libvirt
|
chmod 775 /mnt/media/libvirt
|
||||||
|
|
||||||
@ -285,6 +287,9 @@ in ''
|
|||||||
zfs snapshot rpool/persistent/nixos-containers@empty
|
zfs snapshot rpool/persistent/nixos-containers@empty
|
||||||
zfs snapshot rpool/persistent/bittorrent@empty
|
zfs snapshot rpool/persistent/bittorrent@empty
|
||||||
zfs snapshot rpool/persistent/libvirt@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
|
if [ "${cfg.createBootPool}" = "true" ]; then
|
||||||
pprint "Create ZFS boot pool on $bootPool"
|
pprint "Create ZFS boot pool on $bootPool"
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ceserver";
|
pname = "ceserver";
|
||||||
version = "7.4";
|
version = "7.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cheat-engine";
|
owner = "cheat-engine";
|
||||||
repo = "cheat-engine";
|
repo = "cheat-engine";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-9f4svWpH6kltLQL4w58YPQklLAuLAHMXoVAa4h0jlFk=";
|
hash = "sha256-EG2d4iXhBGmVougCi27O27SrC+L3P4alrgnUvBsT1Ic=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/haiwen/seadrive-fuse;
|
homepage = "https://github.com/haiwen/seadrive-fuse";
|
||||||
description = "SeaDrive daemon with FUSE interface";
|
description = "SeaDrive daemon with FUSE interface";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
security.apparmor.enable = true;
|
||||||
programs.firejail.enable = true;
|
programs.firejail.enable = true;
|
||||||
|
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
|
@ -33,7 +33,7 @@ with config.deviceSpecific; {
|
|||||||
disk = {
|
disk = {
|
||||||
interval = 60;
|
interval = 60;
|
||||||
format = "{free}";
|
format = "{free}";
|
||||||
path = "/";
|
path = "/home";
|
||||||
};
|
};
|
||||||
"custom/separator" = {
|
"custom/separator" = {
|
||||||
format = "|";
|
format = "|";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user