Merge branch 'master' of ssh://ssh.nx2.site:50022/nx2/dotfiles
This commit is contained in:
19
system-modules/davfs.nix
Normal file
19
system-modules/davfs.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }@all: with all; let
|
||||
# user = "lennart";
|
||||
in {
|
||||
services.davfs2 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
globalSection = {
|
||||
use_locks = true;
|
||||
};
|
||||
sections = {
|
||||
"${hyper.home}/webdav" = {
|
||||
gui_optimize = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
users.users."${hyper.user}".extraGroups = [ "davfs2" ];
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
package = pkgs.ly;
|
||||
settings = with rice.color; let h = rice.lib.nohash; in {
|
||||
allow_empty_password = false;
|
||||
# animation = "matrix";
|
||||
animation = "gameoflife";
|
||||
animation = "matrix";
|
||||
# animation = "gameoflife";
|
||||
animation_timeout_sec = 0; # forever
|
||||
asterisk = "*";
|
||||
auth_fails = 10;
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = [
|
||||
"https://cache.nixos.org/"
|
||||
"https://cache.nixos-cuda.org"
|
||||
# "https://cache.nixos-cuda.org"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
||||
# "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user