chore: update flake.lock; update noctalia-shell
This commit is contained in:
@@ -114,10 +114,11 @@ in
|
||||
experimental-features = "nix-command flakes pipe-operators";
|
||||
substituters = lib.mkForce [
|
||||
"http://127.0.0.1:2048"
|
||||
"https://mirror.sjtu.edu.cn/nix-channels/store"
|
||||
"https://cache.nixos.org"
|
||||
|
||||
# "https://mirrors.ustc.edu.cn/nix-channels/store"
|
||||
# "https://mirrors.sjtug.sjtu.edu.cn/nix-channels/store"
|
||||
# "https://mirror.sjtu.edu.cn/nix-channels/store"
|
||||
# "https://nix-community.cachix.org"
|
||||
# "https://cache.garnix.io"
|
||||
];
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
hostname,
|
||||
username,
|
||||
userdesc,
|
||||
secrets,
|
||||
@@ -44,7 +45,7 @@ in
|
||||
extraRules = [
|
||||
{
|
||||
users = [ username ];
|
||||
noPass = true;
|
||||
noPass = hostname == "imxyy-nix";
|
||||
keepEnv = true;
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user