Compare commits
No commits in common. "aeb9014815a249f6359e81f64941448d719abed8" and "54722a84d9390398b80771111f295b2861cb0eaf" have entirely different histories.
aeb9014815
...
54722a84d9
12
flake.lock
12
flake.lock
|
@ -179,11 +179,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1723688146,
|
"lastModified": 1722221733,
|
||||||
"narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=",
|
"narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c3d4ac725177c030b1e289015989da2ad9d56af0",
|
"rev": "12bf09802d77264e441f48e25459c10c93eada2e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -243,11 +243,11 @@
|
||||||
},
|
},
|
||||||
"unstable": {
|
"unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1723637854,
|
"lastModified": 1722185531,
|
||||||
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
|
"narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
|
"rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -5,19 +5,12 @@
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home.packages = with pkgs; [
|
||||||
packages = with pkgs; [
|
|
||||||
bottom
|
bottom
|
||||||
unstable.ncdu
|
unstable.ncdu
|
||||||
neofetch
|
neofetch
|
||||||
];
|
];
|
||||||
|
|
||||||
sessionVariables = {
|
|
||||||
EDITOR = "nvim";
|
|
||||||
VISUAL = "nvim";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.nix-index = {
|
programs.nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
|
|
@ -46,11 +46,7 @@
|
||||||
"nvidia-x11"
|
"nvidia-x11"
|
||||||
"nvidia-settings"
|
"nvidia-settings"
|
||||||
];
|
];
|
||||||
|
hardware.nvidia.modesetting.enable = true;
|
||||||
hardware.nvidia = {
|
|
||||||
modesetting.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.opengl.enable = true;
|
hardware.opengl.enable = true;
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,4 @@
|
||||||
interval = "Wed *-*-8..14 00:00:00";
|
interval = "Wed *-*-8..14 00:00:00";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = {
|
|
||||||
"/mnt/feal-syn1/backup" = {
|
|
||||||
device = "feal-syn1.home.feal.no:/volume2/backup";
|
|
||||||
fsType = "nfs";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/ea31d0ea-2949-420a-99ea-7f77c4b7091e";
|
{ device = "/dev/disk/by-uuid/a4ed02e2-4223-4686-95b0-b29cbd517afe";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/169B-94E2";
|
{ device = "/dev/disk/by-uuid/2467-77B7";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,11 +46,15 @@ in {
|
||||||
oidc_login_filter_allowed_values = [ "nextcloud-user" ];
|
oidc_login_filter_allowed_values = [ "nextcloud-user" ];
|
||||||
oidc_login_disable_registration = false;
|
oidc_login_disable_registration = false;
|
||||||
|
|
||||||
"memories.exiftool" = "${cfg.home}/store-apps/memories/bin-ext/exiftool-amd64-glibc";
|
memories = {
|
||||||
"memories.exiftool_no_local" = false;
|
# exiftool = "${lib.getExe pkgs.exiftool}"; # TODO - not working, use perl
|
||||||
"memories.vod.disable" = false;
|
# exiftool_no_local = false;
|
||||||
"memories.vod.ffmpeg" = "${lib.getExe pkgs.ffmpeg-headless}";
|
vod = {
|
||||||
"memories.vod.ffprobe" = "${pkgs.ffmpeg-headless}/bin/ffprobe";
|
disable = false;
|
||||||
|
ffmpeg = "${lib.getExe pkgs.ffmpeg-headless}";
|
||||||
|
ffprobe = "${pkgs.ffmpeg-headless}/bin/ffprobe";
|
||||||
|
};
|
||||||
|
};
|
||||||
preview_ffmpeg_path = "${pkgs.ffmpeg-headless}/bin/ffmpeg";
|
preview_ffmpeg_path = "${pkgs.ffmpeg-headless}/bin/ffmpeg";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -98,10 +102,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.nextcloud-cron = {
|
systemd.services.nextcloud-cron = {
|
||||||
path = with pkgs; [
|
path = [ pkgs.perl ]; # exiftool doesn't work, so make perl available instead
|
||||||
exiftool
|
|
||||||
ffmpeg-headless
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."nextcloud-setup" = {
|
systemd.services."nextcloud-setup" = {
|
||||||
|
@ -111,12 +112,7 @@ in {
|
||||||
|
|
||||||
systemd.services."phpfpm-nextcloud" = {
|
systemd.services."phpfpm-nextcloud" = {
|
||||||
requires = [ "tank-nextcloud.mount" ];
|
requires = [ "tank-nextcloud.mount" ];
|
||||||
path = with pkgs; [
|
path = [ pkgs.perl ];
|
||||||
# perl
|
|
||||||
# perlPackages.ImageExifTool
|
|
||||||
exiftool
|
|
||||||
ffmpeg-headless
|
|
||||||
];
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
PrivateDevices = lib.mkForce false;
|
PrivateDevices = lib.mkForce false;
|
||||||
WorkingDirectory = "/tank/nextcloud";
|
WorkingDirectory = "/tank/nextcloud";
|
||||||
|
|
Loading…
Reference in New Issue