Compare commits
6 Commits
5584efb29e
...
c2b122434d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2b122434d | ||
|
|
fcf0ec018c | ||
|
|
fe7095558b | ||
|
|
1cd5da7ab7 | ||
|
|
1959ff1d52 | ||
|
|
2016c5b6b8 |
@@ -19,7 +19,10 @@
|
||||
}:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
homeConfigurations = {
|
||||
|
||||
1
home.nix
1
home.nix
@@ -16,6 +16,7 @@
|
||||
./programs/firefox.nix
|
||||
./programs/tmux.nix
|
||||
./programs/git.nix
|
||||
./programs/vscode.nix
|
||||
./wm/rofi.nix
|
||||
./wm/cursor.nix
|
||||
./wm/dconf.nix
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
enable = true;
|
||||
settings.user = {
|
||||
name = "Armel van Ravels";
|
||||
email = "armel@localhost";
|
||||
email = "armel@webavance.nl";
|
||||
};
|
||||
settings.alias = {
|
||||
prune = "!git fetch -p && git branch -vv | grep \": gone]\" | grep -v \"*\" | awk '{print $1}' | xargs -r git branch -D";
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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 = {
|
||||
|
||||
@@ -15,6 +15,7 @@ in
|
||||
];
|
||||
wallpaper = [
|
||||
"DP-2,${wallpaper2}"
|
||||
"HDMI-A-1,${wallpaper2}"
|
||||
",${wallpaper}"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -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" = ["" "" "" "" ""];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user