Compare commits

...

5 Commits

Author SHA1 Message Date
Armel van Ravels
391c32b286 Add direnv integration to vscode 2026-02-05 14:49:20 +01:00
Armel van Ravels
7d28a5d227 Battery status 2026-02-05 14:49:20 +01:00
Armel van Ravels
46e995053c Add vscode 2026-02-05 14:49:20 +01:00
Armel van Ravels
80e0caa462 Add vscode to programs 2026-02-05 14:49:20 +01:00
Armel van Ravels
8b25820447 Changes for work machine 2026-02-05 14:49:20 +01:00
6 changed files with 43 additions and 3 deletions

View File

@@ -19,7 +19,10 @@
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
homeConfigurations = {

View File

@@ -15,6 +15,7 @@
./programs/direnv.nix
./programs/firefox.nix
./programs/tmux.nix
./programs/vscode.nix
./wm/rofi.nix
./wm/cursor.nix
./wm/dconf.nix

25
programs/vscode.nix Normal file
View File

@@ -0,0 +1,25 @@
{ pkgs, ... }:
{
programs.vscode = {
enable = true;
package = pkgs.vscode.fhs;
profiles.default.extensions = with pkgs.vscode-extensions; [
ms-dotnettools.csharp
ms-dotnettools.csdevkit
ms-dotnettools.vscode-dotnet-runtime
mkhl.direnv # Direnv integration for VSCode
];
profiles.default.userSettings = {
"direnv.restart.automatic" = true;
"terminal.integrated.defaultProfile.linux" = "zsh";
"terminal.integrated.profiles.linux" = {
zsh = {
path = pkgs.zsh;
};
};
};
};
}

View File

@@ -31,8 +31,8 @@
};
decoration = {
inactive_opacity = 0.8;
active_opacity = 0.9;
inactive_opacity = 0.9;
active_opacity = 1.0;
rounding = 5;
rounding_power = 2.5;
blur = {

View File

@@ -15,6 +15,7 @@ in
];
wallpaper = [
"DP-2,${wallpaper2}"
"HDMI-A-1,${wallpaper2}"
",${wallpaper}"
];
};

View File

@@ -24,6 +24,7 @@
"pulseaudio"
"cpu"
"tray"
"battery"
"clock"
];
@@ -49,6 +50,10 @@
ignored-players = [ "firefox" "vlc" ];
};
tray = {
spacing = 10;
};
cpu = {
format = " {usage}%";
tooltip = false;
@@ -62,6 +67,11 @@
format = "{icon} {name}";
on-click = "activate";
};
battery = {
"format" = "{icon} {capacity}%";
"format-icons" = ["" "" "" "" ""];
};
};
};
}