forgor to stage changes

but git management in vscodium do be fire ngl
This commit is contained in:
martyTF 2025-12-16 16:51:22 +01:00
parent 3d09e64139
commit db5366102b
8 changed files with 22 additions and 37 deletions

View file

@ -11,14 +11,12 @@ let
[ [
./git.nix ./git.nix
./vscodium.nix ./vscodium.nix
./window_manager/imports.nix
] ]
else if config.networking.hostName == "marty-latitude" then else if config.networking.hostName == "marty-latitude" then
[ [
./git.nix ./git.nix
./vscodium.nix ./vscodium.nix
./window_manager/imports.nix
] ]
else if config.networking.hostName == "marty-server" then else if config.networking.hostName == "marty-server" then

View file

@ -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 = { programs.vscode = {
enable = enable_vscode; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
defaultEditor = enable_vscode; defaultEditor = true;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons catppuccin.catppuccin-vsc-icons

View file

@ -0,0 +1,14 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
./development/import_development.nix
./window_manager/import_wm.nix
];
}

View file

@ -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 = { programs = {
hyprland = { hyprland = {
enable = enable_hyprland; enable = true;
xwayland.enable = enable_hyprland; xwayland.enable = true;
}; };
hyprlock = { hyprlock = {
enable = enable_hyprland; enable = true;
}; };
}; };
} }

View file

@ -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 = { programs = {
waybar = { waybar = {
enable = enable_waybar; enable = true;
}; };
}; };
} }

View file

@ -5,8 +5,9 @@
... ...
}: }:
./system/imports.nix ./modules/imports.nix { {
imports = [ imports = [
./boot.nix ./boot.nix
]; ];
} }