move some nixos configuration to ./nixos/modules and ./nixos/configurations. try to find a good arch to conbine home-manager and nixos modules.
This commit is contained in:
parent
6be554822c
commit
64db779064
32 changed files with 534 additions and 635 deletions
0
overlays/additions/default.nix
Normal file
0
overlays/additions/default.nix
Normal file
10
overlays/modifications/default.nix
Normal file
10
overlays/modifications/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }@args:
|
||||
final: prev:
|
||||
let
|
||||
inherit (prev) lib;
|
||||
overlay-files = [
|
||||
./helix.nix
|
||||
];
|
||||
overlay-list = map (file: import file args) overlay-files;
|
||||
in
|
||||
(lib.composeManyExtensions overlay-list) final prev
|
||||
9
overlays/modifications/helix.nix
Normal file
9
overlays/modifications/helix.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ inputs, ... }:
|
||||
final: prev:
|
||||
let
|
||||
inherit (final) stdenv;
|
||||
inherit (stdenv.hostPlatform) system;
|
||||
in
|
||||
{
|
||||
helix = inputs.helix.packages."${system}".default;
|
||||
}
|
||||
1
overlays/modifications/spotify.nix
Normal file
1
overlays/modifications/spotify.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
|
||||
Loading…
Add table
Add a link
Reference in a new issue