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 = {
|
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
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.
|
# 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 = {
|
||||||
|
@ -150,7 +155,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
"security" = {
|
"security" = {
|
||||||
INSTALL_LOCK = true;
|
INSTALL_LOCK = true;
|
||||||
PASSWORD_HASH_ALGO = "argon2";
|
PASSWORD_HASH_ALGO = "argon2";
|
||||||
PASSWORD_CHECK_PWN = true;
|
PASSWORD_CHECK_PWN = true;
|
||||||
};
|
};
|
||||||
"ui.meta" = {
|
"ui.meta" = {
|
||||||
|
@ -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
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