@@ -96,6 +96,7 @@
|
||||
{
|
||||
devShells = {
|
||||
bun = import ./hosts/common/shells/bun { inherit pkgs; };
|
||||
c = import ./hosts/common/shells/c { inherit pkgs; };
|
||||
go = import ./hosts/common/shells/go { inherit pkgs; };
|
||||
java = import ./hosts/common/shells/java { inherit pkgs; };
|
||||
nix = import ./hosts/common/shells/nix { inherit pkgs; };
|
||||
|
8
hosts/common/shells/c/default.nix
Normal file
8
hosts/common/shells/c/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
gcc
|
||||
cmake
|
||||
gnumake
|
||||
];
|
||||
}
|
12
hosts/elara/users/nikara/configs/console/c/default.nix
Normal file
12
hosts/elara/users/nikara/configs/console/c/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
user ? throw "user argument is required",
|
||||
home ? throw "home argument is required",
|
||||
}:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home-manager.users.${user}.home.packages = with pkgs; [
|
||||
gcc
|
||||
cmake
|
||||
gnumake
|
||||
];
|
||||
}
|
@@ -67,6 +67,7 @@ in
|
||||
(import ../../../common/configs/user/gui/x11 { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/xdg { inherit user home; })
|
||||
|
||||
(import ./configs/console/c { inherit user home; })
|
||||
(import ./configs/console/docker { inherit user home; })
|
||||
(import ./configs/console/git { inherit user home; })
|
||||
(import ./configs/console/go { inherit user home; })
|
||||
|
Reference in New Issue
Block a user