fix: Formatting
Working:
- The daemon
- Mutable config — well, kinda. I'm not yet sure how it will interact with
`emacsWithPackagesFromUsePackage`.
- Packages via Nixpkgs
This commit is contained in:
@@ -13,6 +13,7 @@ let users = builtins.readDir ../users;
|
||||
# Directory name should always match username.
|
||||
({ ... }: { home.username = username; })
|
||||
|
||||
# TODO: Move to default module.
|
||||
({ lib, ... }: {
|
||||
nix = {
|
||||
settings.experimental-features =
|
||||
|
||||
@@ -18,10 +18,11 @@ let
|
||||
(builtins.readDir ../users)));
|
||||
};
|
||||
|
||||
mkHost = hostName: nixpkgs.lib.nixosSystem {
|
||||
mkHost = hostName:
|
||||
let system = import ../hosts/${hostName}/system.nix;
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
specialArgs = inputs;
|
||||
system = import ../hosts/${hostName}/system.nix;
|
||||
# TODO: This is very ad-hoc, and I don't like it. Organise this better.
|
||||
inherit system;
|
||||
modules = [
|
||||
../hosts/${hostName}/configuration.nix
|
||||
|
||||
@@ -51,6 +52,7 @@ let
|
||||
inherit config lib;
|
||||
pkgs = nixpkgs;
|
||||
};
|
||||
inherit inputs system;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user