This commit is contained in:
Chris Kruining 2024-07-23 20:02:04 +02:00
parent 2ec7c74542
commit 3aa8cff626
3 changed files with 29 additions and 2 deletions

View file

@ -18,7 +18,7 @@
terminal = {
default = "alacritty";
allacrity.enable = true;
alacritty.enable = true;
};
editors = {

View file

@ -13,7 +13,7 @@
in {
options.modules.desktop.terminal.alacritty = let
inherit (lib.options) mkEnableOption;
in {enable = mkEnableOption "OpenGL terminal emulator";};
in { enable = mkEnableOption "OpenGL terminal emulator"; };
config = mkIf config.modules.desktop.terminal.alacritty.enable {
modules.shell.toolset.tmux.enable = true;

View file

@ -0,0 +1,27 @@
{ inputs, config, options, lib, pkgs, ... }:
let
inherit (lib.attrsets) attrValues;
inherit (lib.modules) mkIf mkMerge;
in
{
options.modules.develop.dotnet = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "Rust developmnt";
};
config = mkMerge [
(mkIf config.modules.develop.dotnet.enable {
user.packages = attrValues {
};
})
(mkIf config.modules.develop.xdg.enable {
home = {
# sessionVariables.CARGO_HOME = "$XDG_DATA_HOME/cargo";
# sessionPath = ["$CARGO_HOME/bin"];
};
})
];
}