mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: get overlays working, but good this time
This commit is contained in:
parent
312754fe05
commit
4ac5f4d4d5
2 changed files with 5 additions and 2 deletions
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
outputs = { nixpkgs, self, catppuccin, ...} @ inputs:
|
outputs = { nixpkgs, self, catppuccin, ...} @ inputs:
|
||||||
let
|
let
|
||||||
# selfPkgs = import ./pkgs;
|
overlays = import ./overlays/default.nix;
|
||||||
username = "liv";
|
username = "liv";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# overlays.default = selfPkgs.overlay;
|
overlays.default = overlays.addition;
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
desktop = nixpkgs.lib.nixosSystem {
|
desktop = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
|
||||||
3
overlays/default.nix
Normal file
3
overlays/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
addition = final: _: import ../pkgs { pkgs = final; };
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue