Compare commits
11 Commits
5b00400cc1
...
fa61617816
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa61617816 | ||
|
|
1787e510ed | ||
|
|
691fa486f5 | ||
|
|
d78a1db1ff | ||
|
|
4dcbb06296 | ||
| 685f71825a | |||
| 5e05329302 | |||
| bfdc46add8 | |||
| e742d73bdb | |||
| 55e78f1803 | |||
| 27a70d70eb |
@@ -19,7 +19,10 @@
|
||||
}:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
homeConfigurations = {
|
||||
|
||||
2
home.nix
2
home.nix
@@ -9,13 +9,13 @@
|
||||
|
||||
imports = [
|
||||
./other/fonts.nix
|
||||
./programs/obs-studio.nix
|
||||
./programs/bitwarden.nix
|
||||
./programs/kitty.nix
|
||||
./programs/zsh.nix
|
||||
./programs/direnv.nix
|
||||
./programs/firefox.nix
|
||||
./programs/tmux.nix
|
||||
./programs/vscode.nix
|
||||
./wm/rofi.nix
|
||||
./wm/cursor.nix
|
||||
./wm/dconf.nix
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.obs-studio.enable = true;
|
||||
}
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
theme = "agnoster";
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
initContent = ''
|
||||
# Use kitty's ssh helper if running inside kitty
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
'';
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
bzmenu
|
||||
hyprshot
|
||||
hyprlock
|
||||
playerctl
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
@@ -29,8 +30,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 = {
|
||||
@@ -115,6 +116,12 @@
|
||||
|
||||
# Hyprshot
|
||||
"$mod, Z, exec, hyprshot -m region"
|
||||
|
||||
# Media keys
|
||||
", XF86AudioPlay, exec, playerctl play-pause"
|
||||
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
];
|
||||
|
||||
bindm = [
|
||||
|
||||
@@ -15,6 +15,7 @@ in
|
||||
];
|
||||
wallpaper = [
|
||||
"DP-2,${wallpaper2}"
|
||||
"HDMI-A-1,${wallpaper2}"
|
||||
",${wallpaper}"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -21,11 +21,27 @@
|
||||
];
|
||||
|
||||
modules-right = [
|
||||
"pulseaudio"
|
||||
"cpu"
|
||||
"tray"
|
||||
"battery"
|
||||
"clock"
|
||||
];
|
||||
|
||||
pulseaudio = {
|
||||
format = "{icon} {volume}%";
|
||||
format-muted = " muted";
|
||||
tooltip = false;
|
||||
|
||||
scroll-step = 5;
|
||||
|
||||
format-icons = {
|
||||
default = [ "" "" "" ];
|
||||
};
|
||||
|
||||
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||
};
|
||||
|
||||
mpris = {
|
||||
player = "spotify";
|
||||
format = "{player_icon} {artist} - {title}";
|
||||
@@ -34,8 +50,12 @@
|
||||
ignored-players = [ "firefox" "vlc" ];
|
||||
};
|
||||
|
||||
tray = {
|
||||
spacing = 10;
|
||||
};
|
||||
|
||||
cpu = {
|
||||
format = "{usage}% ";
|
||||
format = " {usage}%";
|
||||
tooltip = false;
|
||||
};
|
||||
|
||||
@@ -47,6 +67,11 @@
|
||||
format = "{icon} {name}";
|
||||
on-click = "activate";
|
||||
};
|
||||
|
||||
battery = {
|
||||
"format" = "{icon} {capacity}%";
|
||||
"format-icons" = ["" "" "" "" ""];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user