refactor: compose hosts and home-manager features explicitly
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
nixosModules = config.flake.modules.nixos;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.workstation-base = {
|
||||
imports = [
|
||||
nixosModules.host-base
|
||||
nixosModules.sops-admin-key-file
|
||||
nixosModules.standard-boot
|
||||
nixosModules.sddm
|
||||
nixosModules.niri
|
||||
nixosModules.audio
|
||||
nixosModules.bluetooth
|
||||
nixosModules.flatpak
|
||||
nixosModules.fonts
|
||||
nixosModules.networking
|
||||
nixosModules.printing
|
||||
nixosModules.qbittorrent-client
|
||||
];
|
||||
|
||||
users.mutableUsers = false;
|
||||
|
||||
services.dbus.implementation = "broker";
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
environment.localBinInPath = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user