refactor(flake): remove patches & reformat impermanence import
This commit is contained in:
parent
902ab319aa
commit
707b020317
1 changed files with 3 additions and 7 deletions
10
flake.nix
10
flake.nix
|
@ -53,7 +53,6 @@
|
||||||
, bud
|
, bud
|
||||||
, nixos
|
, nixos
|
||||||
, home
|
, home
|
||||||
, nixos-hardware
|
|
||||||
, agenix
|
, agenix
|
||||||
, deploy
|
, deploy
|
||||||
, ...
|
, ...
|
||||||
|
@ -62,8 +61,6 @@
|
||||||
{
|
{
|
||||||
inherit self inputs;
|
inherit self inputs;
|
||||||
|
|
||||||
patches = ./overlays/patches;
|
|
||||||
|
|
||||||
channelsConfig = { allowUnfree = true; };
|
channelsConfig = { allowUnfree = true; };
|
||||||
|
|
||||||
channels = {
|
channels = {
|
||||||
|
@ -123,8 +120,6 @@
|
||||||
Infini-SERVER = { };
|
Infini-SERVER = { };
|
||||||
};
|
};
|
||||||
importables = rec {
|
importables = rec {
|
||||||
inherit (self) patches;
|
|
||||||
|
|
||||||
profiles = digga.lib.rakeLeaves ./profiles // {
|
profiles = digga.lib.rakeLeaves ./profiles // {
|
||||||
users = digga.lib.rakeLeaves ./users;
|
users = digga.lib.rakeLeaves ./users;
|
||||||
};
|
};
|
||||||
|
@ -150,10 +145,11 @@
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
imports = [ (digga.lib.importExportableModules ./users/modules) ];
|
imports = [ (digga.lib.importExportableModules ./users/modules) ];
|
||||||
modules = [ "${inputs.impermanence}/home-manager.nix" ];
|
modules = [
|
||||||
|
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||||
|
];
|
||||||
importables = rec {
|
importables = rec {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit (self) patches;
|
|
||||||
|
|
||||||
profiles = digga.lib.rakeLeaves ./users/profiles;
|
profiles = digga.lib.rakeLeaves ./users/profiles;
|
||||||
suites = with profiles; self.lib.flattenSetList
|
suites = with profiles; self.lib.flattenSetList
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue