small changes
This commit is contained in:
parent
cced77b014
commit
c55e8210e8
5 changed files with 21 additions and 5 deletions
|
@ -16,10 +16,7 @@
|
|||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
|
||||
split-monitor-workspaces = {
|
||||
url = "github:jacekpoz/split-monitor-workspaces";
|
||||
inputs.nixpkgs.follows = "hyprland";
|
||||
};
|
||||
split-monitor-workspaces.url = "github:jacekpoz/split-monitor-workspaces";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
workspace = special:btop, allpseudo
|
||||
workspace = special:amdgpu_top, allpseudo
|
||||
workspace = special:helvum, allpseudo
|
||||
workspace = special:nixos, allpseudo
|
||||
|
||||
input {
|
||||
kb_layout=pl
|
||||
|
@ -211,6 +212,7 @@
|
|||
bind = SUPER, B, togglespecialworkspace, btop
|
||||
bind = SUPER, A, togglespecialworkspace, amdgpu_top
|
||||
bind = SUPER, V, togglespecialworkspace, helvum
|
||||
bind = SUPER, N, togglespecialworkspace, nixos
|
||||
|
||||
|
||||
bindm = SUPER, mouse:272, movewindow
|
||||
|
@ -230,6 +232,7 @@
|
|||
exec=[workspace special:amdgpu_top silent] amdgpu_top --gui -i 0
|
||||
exec=[workspace special:amdgpu_top silent] amdgpu_top --gui -i 1
|
||||
exec=[workspace special:helvum silent] helvum
|
||||
exec-once=[workspace special:nixos silent;tile] cd niksos; foot nvim
|
||||
|
||||
exec-once=foot --server
|
||||
exec-once=hyprctl setcursor Bibata-Modern-Classic 24
|
||||
|
|
|
@ -128,7 +128,6 @@ in
|
|||
};
|
||||
};
|
||||
blueman.enable = true;
|
||||
mullvad-vpn.enable = true;
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
|
|
@ -2,5 +2,6 @@ _: {
|
|||
imports = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./mullvad.nix
|
||||
];
|
||||
}
|
||||
|
|
16
hosts/niks/mullvad.nix
Normal file
16
hosts/niks/mullvad.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
systemd.services."mullvad-daemon".postStart = let
|
||||
mullvad = config.services.mullvad-vpn.package;
|
||||
in ''
|
||||
while ! ${mullvad}/bin/mullvad status > /dev/null; do sleep 1; done
|
||||
${mullvad}/bin/mullvad auto-connect set on
|
||||
${mullvad}/bin/mullvad tunnel ipv6 set on
|
||||
${mullvad}/bin/mullvad set default --block-ads --block-trackers --block-malware
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue