Feature: New Development Server Environment

This commit is contained in:
marthsincemelee
2023-10-13 22:45:57 +02:00
parent 5aae4ebf13
commit 2985cd7ab2
3 changed files with 58 additions and 3 deletions
@@ -0,0 +1,20 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.dev_server;
in {
options.my.profiles.dev_server = with lib; {
enable = mkEnableOption "Development Server environment";
};
config = lib.mkIf cfg.enable {
programs.dev_server = {
enable = true;
nvidiaPatches = true;
xwayland.enable = true;
};
users.users.finn.packages = with pkgs; [
# Software
];
};
}
@@ -2,9 +2,6 @@
let
cfg = config.my.profiles.hyprland;
in {
options.my.profiles.hyprland = with lib; {
enable = mkEnableOption "hyprland env";
};