From 398b2cfe3d136cc1e08736fbdf46e0fa687e8a0c Mon Sep 17 00:00:00 2001 From: reidlab Date: Thu, 10 Aug 2023 21:34:37 -0700 Subject: [PATCH] specify syntax highlighting on nano --- flake.lock | 0 flake.nix | 5 ++++- hosts/server/configuration.nix | 9 +++++++-- hosts/server/hardware-configuration.nix | 0 readme.md | 0 5 files changed, 11 insertions(+), 3 deletions(-) mode change 100644 => 100755 flake.lock mode change 100644 => 100755 flake.nix mode change 100644 => 100755 hosts/server/configuration.nix mode change 100644 => 100755 hosts/server/hardware-configuration.nix mode change 100644 => 100755 readme.md diff --git a/flake.lock b/flake.lock old mode 100644 new mode 100755 diff --git a/flake.nix b/flake.nix old mode 100644 new mode 100755 index 0061ec5..0e2c7e0 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix old mode 100644 new mode 100755 index 5dad608..6b6894d --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -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; }; }; }; diff --git a/hosts/server/hardware-configuration.nix b/hosts/server/hardware-configuration.nix old mode 100644 new mode 100755 diff --git a/readme.md b/readme.md old mode 100644 new mode 100755