about summary refs log tree commit diff
path: root/modules/profiles/headless.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-11-10 01:08:38 +0300
committerazahi <azat@bahawi.net>2024-11-10 01:08:38 +0300
commit693768ee37098dbebb38c86e27044f2faa38348d (patch)
tree37c92a1c83cf22fa5e5a570baa8598ba6063c795 /modules/profiles/headless.nix
parent2024-10-29 (diff)
2024-11-10 HEAD master
Diffstat (limited to 'modules/profiles/headless.nix')
-rw-r--r--modules/profiles/headless.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/profiles/headless.nix b/modules/profiles/headless.nix
index 5d42df0..bf0d23a 100644
--- a/modules/profiles/headless.nix
+++ b/modules/profiles/headless.nix
@@ -5,16 +5,15 @@
   this,
   ...
 }:
-with lib;
 let
   cfg = config.nixfiles.modules.profiles.headless;
 in
 {
-  options.nixfiles.modules.profiles.headless.enable = mkEnableOption "headless profile" // {
+  options.nixfiles.modules.profiles.headless.enable = lib.mkEnableOption "headless profile" // {
     default = this.isHeadless;
   };
 
-  config = mkIf cfg.enable {
+  config = lib.mkIf cfg.enable {
     nixfiles.modules = {
       openssh.server.enable = true;
       endlessh-go.enable = true;

Consider giving Nix/NixOS a try! <3