Feature: New Development Server Environment
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
./apps
|
||||
./hyprland
|
||||
./zsh
|
||||
./dev_server
|
||||
];
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user