mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
mosh--
This commit is contained in:
parent
cbd3b4a526
commit
ccd741998b
3 changed files with 10 additions and 5 deletions
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
|
|
@ -2,5 +2,10 @@
|
|||
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
|
||||
"editor.defaultFormatter": "B4dM4n.nixpkgs-fmt",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": true
|
||||
"editor.formatOnType": true,
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.background": "#33038C",
|
||||
"titleBar.activeBackground": "#4804C4",
|
||||
"titleBar.activeForeground": "#FCFBFF"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
# Firewall
|
||||
networking.firewall.enable = true;
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
|
||||
security.auditd.enable = true;
|
||||
security.audit.enable = true;
|
||||
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -103,10 +103,6 @@
|
|||
|
||||
services.netdata.enable = true;
|
||||
|
||||
programs = {
|
||||
mosh.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
cryptsetup
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue