about summary refs log tree commit diff
path: root/modules/profiles
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
commit364e8a98ad25127f2a51696ec03729e3a783044f (patch)
tree1ac46553d1dca1259da539eddc7db100eaf5c137 /modules/profiles
parent2024-05-05 (diff)
2024-05-25
Diffstat (limited to '')
-rw-r--r--modules/profiles/default.nix11
-rw-r--r--modules/profiles/dev/default.nix3
-rw-r--r--modules/profiles/headful.nix2
-rw-r--r--modules/profiles/headless.nix14
4 files changed, 19 insertions, 11 deletions
diff --git a/modules/profiles/default.nix b/modules/profiles/default.nix
index 5edfd7a..6967cb7 100644
--- a/modules/profiles/default.nix
+++ b/modules/profiles/default.nix
@@ -36,12 +36,15 @@ in
       eza.enable = true;
       htop.enable = true;
       tmux.enable = true;
-      vim.enable = true;
     };
 
-    programs.less = {
-      enable = true;
-      envVariables.LESSHISTFILE = "-";
+    programs = {
+      less = {
+        enable = true;
+        envVariables.LESSHISTFILE = "-";
+      };
+
+      nano.enable = false;
     };
 
     time.timeZone = "Europe/Moscow";
diff --git a/modules/profiles/dev/default.nix b/modules/profiles/dev/default.nix
index eab447c..3ee2ff5 100644
--- a/modules/profiles/dev/default.nix
+++ b/modules/profiles/dev/default.nix
@@ -58,6 +58,7 @@ in
 
         packages = with pkgs; [
           age
+          google-cloud-sdk
           htmlq
           httpie
           hydra-check
@@ -65,7 +66,9 @@ in
           logcli
           nix-update
           nixpkgs-review
+          scaleway-cli
           sops
+          vultr-cli
           yq
         ];
 
diff --git a/modules/profiles/headful.nix b/modules/profiles/headful.nix
index 7060e49..83b3e4a 100644
--- a/modules/profiles/headful.nix
+++ b/modules/profiles/headful.nix
@@ -93,6 +93,8 @@ in
           configurationLimit = 10;
         };
       };
+
+      consoleLogLevel = 3;
     };
 
     hardware.opengl = {
diff --git a/modules/profiles/headless.nix b/modules/profiles/headless.nix
index 7733f3e..f739206 100644
--- a/modules/profiles/headless.nix
+++ b/modules/profiles/headless.nix
@@ -30,11 +30,13 @@ in
       ".bash_history".source = config.hm.lib.file.mkOutOfStoreSymlink "/dev/null";
     };
 
-    # Pin version to prevent any surprises. Try keeping this up-to-date[1] with
-    # the latest LTS release + hardened patches (just in case).
-    #
-    # [1]: https://kernel.org
-    boot.kernelPackages = pkgs.linuxPackages_6_6_hardened;
+    boot = {
+      # Pin version to prevent any surprises. Try keeping this up-to-date[1]
+      # with the latest LTS release + hardened patches (just in case).
+      #
+      # [1]: https://kernel.org
+      kernelPackages = pkgs.linuxPackages_6_6_hardened; # EOL Dec, 2026
+    };
 
     nix = {
       gc = {
@@ -55,7 +57,5 @@ in
     ];
 
     services.udisks2.enable = false;
-
-    xdg.sounds.enable = false;
   };
 }

Consider giving Nix/NixOS a try! <3