Remove duplicate nixpkgs import from path
This commit is contained in:
parent
f0c1441230
commit
e0c49cfc27
4 changed files with 10 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> }:
|
||||
{ pkgs }:
|
||||
|
||||
with pkgs;
|
||||
rec {
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
this = import ../.. {};
|
||||
this = import ../.. { inherit pkgs; };
|
||||
nixos-hardware = buildins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixos-hardware/archive/c242378e63b0ec334e964ac0c0fbbdd2b3e89ebf.tar.gz";
|
||||
sha256 = "1z4cr5gsyfdpcy31vqg4ikalbxmnnac6jjk1nl8mxj0h0ix7pp36";
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = (lib.attrValues this.modules) ++ [
|
||||
../../modules/profiles/laptop
|
||||
<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>
|
||||
"${nixos-hardware}/lenovo/thinkpad/t14s"
|
||||
];
|
||||
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
this = import ../../.. {};
|
||||
this = import ../../.. { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
hostName = "surgat";
|
||||
this = import ../.. {};
|
||||
this = import ../.. { inherit pkgs; };
|
||||
keys = ../../pkgs/keys/keys;
|
||||
homePage = self: super: { homePage = super.callPackage ../../pkgs/homePage { }; };
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue