fix: home.nix should not use config.home... but should assign to home... directly
parent
9814ddd9fc
commit
a6763a59eb
|
@ -1,8 +1,13 @@
|
|||
# myHome is injected from extraSpecialArgs in flake.nix
|
||||
{ config
|
||||
# This is a nix module, with an additional wrapper from home-manager
|
||||
# myHome, myLib is injected from extraSpecialArgs in flake.nix
|
||||
# This file represents the base settings for each machine
|
||||
# Additional configurations goes to profiles/<user>
|
||||
# or inlined in flake.nix
|
||||
{ config # Represents the realized final configuration
|
||||
, pkgs # This is by default just ``= import <nixpkgs>{}`
|
||||
, myHome
|
||||
, myLib
|
||||
, option # The options we're given, this might be useful for typesafety?
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
|
@ -42,10 +47,7 @@ in
|
|||
pkgs.htop
|
||||
pkgs.ripgrep
|
||||
pkgs.unzip
|
||||
pkgs.rust-bin.nightly.latest.default # Needed for alacritty?
|
||||
|
||||
# pkgs.nodejs-18_x
|
||||
# pkgs.rust-analyzer # This should be very specific to env
|
||||
|
||||
|
||||
# cool utilities
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# main module exporter for different configuration profiles
|
||||
{pkgs, libs,...} @ inputs:
|
||||
{
|
||||
hwtr = import ./hwtr.nix;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
# This module aims to be merge (not inject/override) with top-level pkgs to provide
|
||||
# personalized/custom packages
|
||||
{ pkgs, lib, ... }@pkgs_input: {
|
||||
dot-hwtr = import "./dot-hwtr" pkgs_input;
|
||||
# dot-hwtr = import "./dot-hwtr" pkgs_input;
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{ pkgs, lib, ... }@pkgs_input: pkgs.stdenv.mkDerivation {
|
||||
name = "dot-hwtr";
|
||||
native
|
||||
}
|
Loading…
Reference in New Issue