diff --git a/configuration.nix b/configuration.nix index ac5edee..473b505 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ pkgs, ... }: { imports = diff --git a/flake.nix b/flake.nix index 59584e8..33246b3 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,6 @@ outputs = { nixpkgs, home-manager, nixvim-flake, ... }: let - lib = nixpkgs.lib; system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; inputs.nixvim-flake = nixvim-flake; diff --git a/hardware-configuration.nix b/hardware-configuration.nix index b053fed..8d09dbf 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = diff --git a/home.nix b/home.nix index 2b678b1..67db6f1 100644 --- a/home.nix +++ b/home.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, inputs, ... }: let +{ pkgs, inputs, ... }: let username = "khais"; in { home = { @@ -16,7 +16,7 @@ in { # editors zed-editor # nixvim - inputs.nixvim-flake.packages.${pkgs.system}.default + inputs.nixvim-flake.packages.${system}.default ]; file = {