specify syntax highlighting on nano

This commit is contained in:
Reid 2023-08-10 21:34:37 -07:00
parent fdf7e582b3
commit 398b2cfe3d
5 changed files with 11 additions and 3 deletions

0
flake.lock generated Normal file → Executable file
View file

5
flake.nix Normal file → Executable file
View 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
View 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
View file

0
readme.md Normal file → Executable file
View file