flake: remove suites from flake

This commit is contained in:
Infinidoge 2023-07-25 20:22:56 -04:00
parent 934cd7f895
commit 07216e2fa3
9 changed files with 66 additions and 115 deletions

View file

@ -1,10 +1,5 @@
{ suites, profiles, pkgs, lib, private, ... }: {
{ pkgs, lib, private, ... }: {
imports = lib.lists.flatten [
(with suites; [
base
develop
])
private.nixosModules.wireless
./hardware-configuration.nix

View file

@ -1,13 +1,7 @@
{ suites, profiles, pkgs, lib, private, ... }: {
{ pkgs, lib, private, ... }: {
imports = lib.lists.flatten [
(with suites; [ base ])
private.nixosModules.wireless
(with profiles; [
# services.proxy
])
./hardware-configuration.nix
./filesystems.nix
];

View file

@ -1,7 +1,5 @@
{ config, suites, profiles, pkgs, lib, private, ... }: {
{ config, pkgs, lib, private, ... }: {
imports = lib.flatten [
(with suites; [ base ])
private.nixosModules.minecraft-servers
private.nixosModules.nitter
./hardware-configuration.nix

View file

@ -1,7 +1,6 @@
{ lib, suites, profiles, private, ... }: {
{ lib, private, ... }:
{
imports = lib.lists.flatten [
(with suites; [ base develop ])
private.nixosModules.wireless
./hardware-configuration.nix

View file

@ -1,11 +1,9 @@
{ suites, profiles, pkgs, lib, private, ... }: {
imports = lib.our.flattenListSet {
suites = with suites; [ base develop ];
imports = [
./hardware-configuration.nix
private.nixosModules.wireless
];
};
{ pkgs, lib, private, ... }:
{
imports = [
./hardware-configuration.nix
private.nixosModules.wireless
];
system.stateVersion = "21.11";

View file

@ -1,11 +1,5 @@
{ suites, profiles, pkgs, lib, ... }: {
imports = lib.lists.flatten [
(with suites; [
base
develop
])
];
{ pkgs, lib, ... }:
{
system.stateVersion = "22.05";
# I don't use Windows, but when I do, I want NixOS there with me,