tangled
alpha
login
or
join now
thevoid.cafe
/
puzzlevision
0
fork
atom
Non stop entertainment! The wackiest NixOS configuration to-date.
thevoid.cafe/projects/puzzlevision
nixos
flake
flake-parts
dotfiles
home-manager
nix
0
fork
atom
overview
issues
pulls
pipelines
🔧 Remove unused/broken ssh and kernelParams stuff
thevoid.cafe
1 month ago
e21be976
48249727
verified
This commit was signed with the committer's
known signature
.
thevoid.cafe
SSH Key Fingerprint:
SHA256:6LamuiiF+oLDOqy13Locb95HiqZGy8CIaFHI8miR6hE=
-17
2 changed files
expand all
collapse all
unified
split
modules
home
security
ssh
default.nix
systems
x86_64-nixos
puzzlevision
hardware.nix
-12
modules/home/security/ssh/default.nix
···
8
8
inherit (lib) mkIf;
9
9
10
10
gkEnabled = osConfig.services.gnome.gnome-keyring.enable or false;
11
11
-
pamEnabled = osConfig.security.pam.services.login.enableGnomeKeyring or false;
12
11
in
13
12
{
14
14
-
programs.ssh = {
15
15
-
enable = true;
16
16
-
matchBlocks = {
17
17
-
"*" = {
18
18
-
identityFile = [
19
19
-
"~/.ssh/id_ed25519"
20
20
-
];
21
21
-
};
22
22
-
};
23
23
-
};
24
24
-
25
13
# Enable gnome-keyring user service, only if system also has it
26
14
services.gnome-keyring.enable = gkEnabled;
27
15
home.packages = mkIf gkEnabled [ pkgs.gcr ];
-5
systems/x86_64-nixos/puzzlevision/hardware.nix
···
35
35
kernel.sysctl = mkIf config.zramSwap.enable {
36
36
"vm.swappiness" = 50;
37
37
};
38
38
-
39
39
-
kernelParams = [
40
40
-
"intel_idle.max_cstate=1" # avoids deep C-state freezes
41
41
-
"processor.max_cstate=1" # same effect, some kernels honor one better than the other
42
42
-
];
43
38
};
44
39
45
40
# Broader firmware and hardware support