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 = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 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 let
system = "aarch64-linux"; system = "aarch64-linux";
@ -19,6 +21,7 @@
specialArgs = { inherit system; }; specialArgs = { inherit system; };
modules = [ modules = [
vscode-server.nixosModules.default
./hosts/server/configuration.nix ./hosts/server/configuration.nix
]; ];
}; };

7
hosts/server/configuration.nix Normal file → Executable file
View file

@ -34,6 +34,10 @@
# Set your time zone. # Set your time zone.
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";
# Editors
# Editors - Nano
programs.nano.syntaxHighlight = true;
# Users # Users
users.groups.dotfiles = {}; users.groups.dotfiles = {};
@ -45,6 +49,7 @@
tree tree
]; ];
}; };
# Services # Services
# Services - Openssh # Services - Openssh
services.openssh = { services.openssh = {
@ -174,7 +179,7 @@
REGISTER_EMAIL_CONFIRM = false; REGISTER_EMAIL_CONFIRM = false;
DEFAULT_KEEP_EMAIL_PRIVATE = true; DEFAULT_KEEP_EMAIL_PRIVATE = true;
DEFAULT_ENABLE_TIMETRACKING = 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