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;
|
with pkgs;
|
||||||
rec {
|
rec {
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
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
|
in
|
||||||
{
|
{
|
||||||
imports = (lib.attrValues this.modules) ++ [
|
imports = (lib.attrValues this.modules) ++ [
|
||||||
../../modules/profiles/laptop
|
../../modules/profiles/laptop
|
||||||
<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>
|
"${nixos-hardware}/lenovo/thinkpad/t14s"
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
this = import ../../.. {};
|
this = import ../../.. { inherit pkgs; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
hostName = "surgat";
|
hostName = "surgat";
|
||||||
this = import ../.. {};
|
this = import ../.. { inherit pkgs; };
|
||||||
keys = ../../pkgs/keys/keys;
|
keys = ../../pkgs/keys/keys;
|
||||||
homePage = self: super: { homePage = super.callPackage ../../pkgs/homePage { }; };
|
homePage = self: super: { homePage = super.callPackage ../../pkgs/homePage { }; };
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue