forgor to stage changes
but git management in vscodium do be fire ngl
This commit is contained in:
parent
3d09e64139
commit
db5366102b
8 changed files with 22 additions and 37 deletions
|
|
@ -11,14 +11,12 @@ let
|
|||
[
|
||||
./git.nix
|
||||
./vscodium.nix
|
||||
./window_manager/imports.nix
|
||||
|
||||
]
|
||||
else if config.networking.hostName == "marty-latitude" then
|
||||
[
|
||||
./git.nix
|
||||
./vscodium.nix
|
||||
./window_manager/imports.nix
|
||||
|
||||
]
|
||||
else if config.networking.hostName == "marty-server" then
|
||||
|
|
@ -5,21 +5,11 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_vscode =
|
||||
if config.networking.hostName == "marty-pc"
|
||||
then true
|
||||
else if config.networking.hostName == "marty-latitude"
|
||||
then true
|
||||
else false;
|
||||
in
|
||||
|
||||
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = enable_vscode;
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
defaultEditor = enable_vscode;
|
||||
defaultEditor = true;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
14
modules/import_modules.nix
Normal file
14
modules/import_modules.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./development/import_development.nix
|
||||
./window_manager/import_wm.nix
|
||||
|
||||
];
|
||||
}
|
||||
|
|
@ -5,23 +5,14 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_hyprland =
|
||||
if config.networking.hostName == "marty-pc"
|
||||
then true
|
||||
else if config.networking.hostName == "marty-latitude"
|
||||
then true
|
||||
else false;
|
||||
in
|
||||
|
||||
{
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = enable_hyprland;
|
||||
xwayland.enable = enable_hyprland;
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
hyprlock = {
|
||||
enable = enable_hyprland;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,19 +5,10 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_waybar =
|
||||
if config.networking.hostName == "marty-pc"
|
||||
then true
|
||||
else if config.networking.hostName == "marty-latitude"
|
||||
then true
|
||||
else false;
|
||||
in
|
||||
|
||||
{
|
||||
programs = {
|
||||
waybar = {
|
||||
enable = enable_waybar;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue