about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-01-07 23:57:45 +0300
committerAzat Bahawi <azat@bahawi.net>2024-01-07 23:57:45 +0300
commit5a4e7e22a6975ebc3de70e68446ff53109c64170 (patch)
tree0004db42ea38a75bf9dc413f6b77e501f2270fad /modules/nixos
parent2024-01-05 (diff)
2024-01-07
Diffstat (limited to '')
-rw-r--r--modules/nixos/firefox/default.nix2
-rw-r--r--modules/nixos/games/minecraft.nix4
-rw-r--r--modules/nixos/nsd.nix2
-rw-r--r--modules/nixos/vim/default.nix8
4 files changed, 6 insertions, 10 deletions
diff --git a/modules/nixos/firefox/default.nix b/modules/nixos/firefox/default.nix
index 10d5e98..4c9437c 100644
--- a/modules/nixos/firefox/default.nix
+++ b/modules/nixos/firefox/default.nix
@@ -18,7 +18,7 @@ in {
     ];
 
     hm = {
-      imports = [inputs.arkenfox-nixos.hmModules.arkenfox];
+      imports = [inputs.arkenfox.hmModules.arkenfox];
 
       home.packages = with pkgs; [profile-cleaner];
 
diff --git a/modules/nixos/games/minecraft.nix b/modules/nixos/games/minecraft.nix
index e5cee32..8a1a0b5 100644
--- a/modules/nixos/games/minecraft.nix
+++ b/modules/nixos/games/minecraft.nix
@@ -8,7 +8,7 @@
 with lib; let
   cfg = config.nixfiles.modules.games.minecraft;
 in {
-  imports = [inputs.nix-minecraft.nixosModules.minecraft-servers];
+  imports = [inputs.minecraft.nixosModules.minecraft-servers];
 
   options.nixfiles.modules.games.minecraft = {
     client.enable = mkEnableOption "Minecraft client";
@@ -78,7 +78,7 @@ in {
         };
       };
 
-      nixpkgs.overlays = [inputs.nix-minecraft.overlay];
+      nixpkgs.overlays = [inputs.minecraft.overlay];
 
       my.extraGroups = [config.services.minecraft-servers.group];
     })
diff --git a/modules/nixos/nsd.nix b/modules/nixos/nsd.nix
index 2266ea5..ae72f1d 100644
--- a/modules/nixos/nsd.nix
+++ b/modules/nixos/nsd.nix
@@ -48,7 +48,7 @@ in {
         ratelimit.enable = true;
 
         zones = let
-          dns = inputs.dns-nix.lib;
+          dns = inputs.dns.lib;
         in
           with dns.combinators; let
             ips = hostname:
diff --git a/modules/nixos/vim/default.nix b/modules/nixos/vim/default.nix
index 16e2d51..2fdf064 100644
--- a/modules/nixos/vim/default.nix
+++ b/modules/nixos/vim/default.nix
@@ -2,7 +2,6 @@
   config,
   lib,
   pkgs,
-  this,
   ...
 }:
 with lib; let
@@ -11,13 +10,10 @@ in {
   config = mkIf cfg.enable {
     programs.vim.package =
       (pkgs.vim-full.override {
-        features = "normal";
         cscopeSupport = false;
         darwinSupport = false;
-        guiSupport =
-          if this.isHeadful
-          then "gtk3"
-          else false;
+        features = "normal";
+        guiSupport = "gtk3";
         luaSupport = false;
         multibyteSupport = false;
         netbeansSupport = false;

Consider giving Nix/NixOS a try! <3