renamed hosts and working on multi user conf

This commit is contained in:
Chris Kruining 2025-03-18 14:37:23 +01:00
parent a603eb08a4
commit f7891e1f30
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
21 changed files with 208 additions and 75 deletions

View file

@ -12,6 +12,6 @@ in
inherit (lib.types) either str;
inherit (lib.my) mkOpt;
in {
type = mkOpt (either str null) null;
type = mkOpt (either str null) "wayland";
};
}

View file

@ -1,9 +1,13 @@
{ config, options, lib, pkgs, ... }:
{ inputs, config, options, lib, pkgs, ... }:
let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf;
in
{
imports = [
inputs.nvf.nixosModules.default
];
options.modules.desktop.editors.nvim = let
inherit (lib.options) mkEnableOption;
in { enable = mkEnableOption "neo-vim (nixvim)"; };

View file

@ -1,8 +1,12 @@
{ config, options, lib, pkgs, inputs, ... }:
{ inputs, config, options, lib, pkgs, ... }:
let
inherit (lib.modules) mkIf;
in
{
imports = [
inputs.nix-minecraft.nixosModules.minecraft-servers
];
options.modules.services.games.minecraft = let
inherit (lib.options) mkEnableOption;
in {

View file

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ inputs, config, options, lib, pkgs, ... }:
let
inherit (builtins) getEnv map;
inherit (lib.attrsets) attrValues mapAttrsToList;
@ -9,6 +9,10 @@ let
cfg = config.modules.themes;
desktop = config.modules.desktop;
in {
imports = [
inputs.stylix.nixosModules.stylix
];
options.modules.themes = let
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.types) nullOr enum;