.
This commit is contained in:
parent
2ec7c74542
commit
3aa8cff626
3 changed files with 29 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
terminal = {
|
terminal = {
|
||||||
default = "alacritty";
|
default = "alacritty";
|
||||||
allacrity.enable = true;
|
alacritty.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
editors = {
|
editors = {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
in {
|
in {
|
||||||
options.modules.desktop.terminal.alacritty = let
|
options.modules.desktop.terminal.alacritty = let
|
||||||
inherit (lib.options) mkEnableOption;
|
inherit (lib.options) mkEnableOption;
|
||||||
in {enable = mkEnableOption "OpenGL terminal emulator";};
|
in { enable = mkEnableOption "OpenGL terminal emulator"; };
|
||||||
|
|
||||||
config = mkIf config.modules.desktop.terminal.alacritty.enable {
|
config = mkIf config.modules.desktop.terminal.alacritty.enable {
|
||||||
modules.shell.toolset.tmux.enable = true;
|
modules.shell.toolset.tmux.enable = true;
|
27
modules/develop/dotnet.nix
Normal file
27
modules/develop/dotnet.nix
Normal 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"];
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue