Compare commits
13 Commits
home
...
f4c98f15f9
| Author | SHA1 | Date | |
|---|---|---|---|
| f4c98f15f9 | |||
| 9834708e59 | |||
|
|
7583690113 | ||
| 69ce33422a | |||
| 3c4f2b4f94 | |||
| 06bcb20ccd | |||
| 696c7e50cf | |||
|
|
b1ee7bcb2d | ||
|
|
23cf21da76 | ||
|
|
dea56f0fe3 | ||
|
|
8196f20547 | ||
|
|
612392acf0 | ||
|
|
979f0bd7a1 |
@@ -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
@@ -17,6 +17,7 @@
|
|||||||
./programs/tmux.nix
|
./programs/tmux.nix
|
||||||
./programs/git.nix
|
./programs/git.nix
|
||||||
./programs/libreoffice.nix
|
./programs/libreoffice.nix
|
||||||
|
./programs/vscode.nix
|
||||||
./programs/nvim.nix
|
./programs/nvim.nix
|
||||||
./wm/rofi.nix
|
./wm/rofi.nix
|
||||||
./wm/cursor.nix
|
./wm/cursor.nix
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.user = {
|
settings.user = {
|
||||||
name = "Armel van Ravels";
|
name = "Armel van Ravels";
|
||||||
email = "armel@armel.nl";
|
email = "armel@webavance.nl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -32,8 +32,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}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"cpu"
|
"cpu"
|
||||||
"tray"
|
"tray"
|
||||||
|
"battery"
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -49,6 +50,10 @@
|
|||||||
ignored-players = [ "firefox" "vlc" ];
|
ignored-players = [ "firefox" "vlc" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tray = {
|
||||||
|
spacing = 10;
|
||||||
|
};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
format = " {usage}%";
|
format = " {usage}%";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
@@ -62,6 +67,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