Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ den.oeiuwq.com
configurations den dendritic nix aspect oriented
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "fix(template): update default template to use mutual-providers" (#338)

Reverts vic/den#337

authored by

Victor Borja and committed by
GitHub
63541487 55f098c5

+5 -10
-7
templates/default/modules/defaults.nix
··· 1 - { lib, den, ... }: 2 1 { 3 2 den.default.nixos.system.stateVersion = "25.11"; 4 3 den.default.homeManager.home.stateVersion = "25.11"; 5 - 6 - # enable hm by default 7 - den.schema.user.classes = lib.mkDefault [ "homeManager" ]; 8 - 9 - # host<->user provides 10 - den.ctx.user.includes = [ den._.mutual-provider ]; 11 4 12 5 # User TODO: REMOVE THIS 13 6 den.aspects.tux.nixos = {
+1 -1
templates/default/modules/igloo.nix
··· 9 9 }; 10 10 11 11 # host provides default home environment for its users 12 - provides.to-users.homeManager = 12 + homeManager = 13 13 { pkgs, ... }: 14 14 { 15 15 home.packages = [ pkgs.vim ];
+1 -1
templates/default/modules/tux.nix
··· 15 15 16 16 # user can provide NixOS configurations 17 17 # to any host it is included on 18 - provides.to-hosts.nixos = { pkgs, ... }: { }; 18 + # nixos = { pkgs, ... }: { }; 19 19 }; 20 20 }
+2 -1
templates/example/modules/den.nix
··· 1 1 { 2 - den.ctx.user.classes = [ "homeManager" ]; 2 + den.hosts.x86_64-linux.igloo.users.alice.classes = [ "homeManager" ]; 3 + den.hosts.aarch64-darwin.apple.users.alice.classes = [ "homeManager" ]; 3 4 den.homes.x86_64-linux.alice = { }; 4 5 }
+1
templates/example/modules/inputs.nix
··· 7 7 # 8 8 # For our template, we enable home-manager and nix-darwin by default, but 9 9 # you are free to remove them if not being used by you. 10 + { ... }: 10 11 { 11 12 12 13 flake-file.inputs = {