remove default.nix

This commit is contained in:
Sean Buckley 2021-06-11 21:32:23 -04:00
parent 7e55279252
commit 8b08077e40
4 changed files with 17 additions and 19 deletions

View file

@ -1,17 +0,0 @@
{ ... }:
{
imports = [
./modules/alacritty.nix
./modules/baseline.nix
./modules/cli.nix
./modules/gnome.nix
./modules/phpipam.nix
./modules/pipewire.nix
./modules/profiles.nix
./modules/scansnap_s1300.nix
./modules/scroll-boost
./modules/security-tools.nix
./modules/status-on-console.nix
./modules/sway.nix
];
}

View file

@ -4,7 +4,22 @@
outputs = { self, nixpkgs, ... }@inputs:
{
nixosModule = { ... }: { imports = [ ./. ]; };
nixosModules = {
alacritty = ./modules/alacritty.nix;
baseline = ./modules/baseline.nix;
cli = ./modules/cli.nix;
gnome = ./modules/gnome.nix;
phpipam = ./modules/phpipam.nix;
pipewire = ./modules/pipewire.nix;
profiles = ./modules/profiles.nix;
scansnap_s1300 = ./modules/scansnap_s1300.nix;
scroll-boost = ./modules/scroll-boost;
security-tools = ./modules/security-tools.nix;
status-on-console = ./modules/status-on-console.nix;
sway = ./modules/sway.nix;
};
nixosModule = { ... }: { imports = builtins.attrValues self.nixosModules; };
nixosConfigurations = self.lib.getHosts inputs ./hosts;

View file

@ -1,4 +1,4 @@
{ lib, ... }:
{ config, lib, ... }:
let
cfg = config.sconfig.pipewire;
in