specify syntax highlighting on nano
This commit is contained in:
parent
fdf7e582b3
commit
398b2cfe3d
5 changed files with 11 additions and 3 deletions
0
flake.lock
generated
Normal file → Executable file
0
flake.lock
generated
Normal file → Executable file
5
flake.nix
Normal file → Executable file
5
flake.nix
Normal file → Executable file
|
@ -3,9 +3,11 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
outputs = { self, nixpkgs, vscode-server }:
|
||||
let
|
||||
system = "aarch64-linux";
|
||||
|
||||
|
@ -19,6 +21,7 @@
|
|||
specialArgs = { inherit system; };
|
||||
|
||||
modules = [
|
||||
vscode-server.nixosModules.default
|
||||
./hosts/server/configuration.nix
|
||||
];
|
||||
};
|
||||
|
|
9
hosts/server/configuration.nix
Normal file → Executable file
9
hosts/server/configuration.nix
Normal file → Executable file
|
@ -34,6 +34,10 @@
|
|||
# Set your time zone.
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
# Editors
|
||||
# Editors - Nano
|
||||
programs.nano.syntaxHighlight = true;
|
||||
|
||||
# Users
|
||||
users.groups.dotfiles = {};
|
||||
|
||||
|
@ -45,6 +49,7 @@
|
|||
tree
|
||||
];
|
||||
};
|
||||
|
||||
# Services
|
||||
# Services - Openssh
|
||||
services.openssh = {
|
||||
|
@ -150,7 +155,7 @@
|
|||
settings = {
|
||||
"security" = {
|
||||
INSTALL_LOCK = true;
|
||||
PASSWORD_HASH_ALGO = "argon2";
|
||||
PASSWORD_HASH_ALGO = "argon2";
|
||||
PASSWORD_CHECK_PWN = true;
|
||||
};
|
||||
"ui.meta" = {
|
||||
|
@ -174,7 +179,7 @@
|
|||
REGISTER_EMAIL_CONFIRM = false;
|
||||
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||
DEFAULT_ENABLE_TIMETRACKING = true;
|
||||
DISABLE_REGISTRATION = true;
|
||||
# DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
0
hosts/server/hardware-configuration.nix
Normal file → Executable file
0
hosts/server/hardware-configuration.nix
Normal file → Executable file
0
readme.md
Normal file → Executable file
0
readme.md
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue