Compare commits
5 Commits
work
...
5b00400cc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b00400cc1 | ||
|
|
9c98f7490f | ||
|
|
f6a6fb2afe | ||
|
|
fccac91c05 | ||
|
|
8f31717cb5 |
@@ -19,7 +19,10 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
|
|||||||
1
home.nix
1
home.nix
@@ -16,6 +16,7 @@
|
|||||||
./programs/direnv.nix
|
./programs/direnv.nix
|
||||||
./programs/firefox.nix
|
./programs/firefox.nix
|
||||||
./programs/tmux.nix
|
./programs/tmux.nix
|
||||||
|
./programs/vscode.nix
|
||||||
./wm/rofi.nix
|
./wm/rofi.nix
|
||||||
./wm/cursor.nix
|
./wm/cursor.nix
|
||||||
./wm/dconf.nix
|
./wm/dconf.nix
|
||||||
|
|||||||
25
programs/vscode.nix
Normal file
25
programs/vscode.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -29,8 +29,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
inactive_opacity = 0.8;
|
inactive_opacity = 0.9;
|
||||||
active_opacity = 0.9;
|
active_opacity = 1.0;
|
||||||
rounding = 5;
|
rounding = 5;
|
||||||
rounding_power = 2.5;
|
rounding_power = 2.5;
|
||||||
blur = {
|
blur = {
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ in
|
|||||||
];
|
];
|
||||||
wallpaper = [
|
wallpaper = [
|
||||||
"DP-2,${wallpaper2}"
|
"DP-2,${wallpaper2}"
|
||||||
|
"HDMI-A-1,${wallpaper2}"
|
||||||
",${wallpaper}"
|
",${wallpaper}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -21,8 +21,9 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"cpu"
|
|
||||||
"tray"
|
"tray"
|
||||||
|
"cpu"
|
||||||
|
"battery"
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -34,8 +35,12 @@
|
|||||||
ignored-players = [ "firefox" "vlc" ];
|
ignored-players = [ "firefox" "vlc" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tray = {
|
||||||
|
spacing = 10;
|
||||||
|
};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
format = "{usage}% ";
|
format = " {usage}%";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -47,6 +52,11 @@
|
|||||||
format = "{icon} {name}";
|
format = "{icon} {name}";
|
||||||
on-click = "activate";
|
on-click = "activate";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
battery = {
|
||||||
|
"format" = "{icon} {capacity}%";
|
||||||
|
"format-icons" = ["" "" "" "" ""];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user