fix new hyprland
This commit is contained in:
parent
d7d4155d39
commit
baddb51c15
3 changed files with 18 additions and 6 deletions
|
|
@ -45,6 +45,7 @@
|
||||||
|
|
||||||
FCS-Tristan-Nixbook =
|
FCS-Tristan-Nixbook =
|
||||||
mkConf [
|
mkConf [
|
||||||
|
inputs.hyprland.nixosModules.default
|
||||||
./hardware/fcs-tristan-nixbook.nix
|
./hardware/fcs-tristan-nixbook.nix
|
||||||
(auto-login "Hyprland")
|
(auto-login "Hyprland")
|
||||||
./nixos/modules/work.nix
|
./nixos/modules/work.nix
|
||||||
|
|
|
||||||
|
|
@ -85,15 +85,20 @@ in {
|
||||||
{
|
{
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland = {
|
||||||
|
settings = {
|
||||||
bind = [
|
bind = [
|
||||||
"SUPER_SHIFT, Q, killactive,"
|
"SUPER_SHIFT, Q, killactive,"
|
||||||
];
|
];
|
||||||
"device:at-translated-set-2-keyboard" = {
|
};
|
||||||
kb_variant = "dvorak,";
|
extraConfig = ''
|
||||||
kb_layout = "gb,gb";
|
device {
|
||||||
kb_options = "grp:alt_shift_toggle,caps:escape";
|
name = at-translated-set-2-keyboard
|
||||||
};
|
kb_variant = dvorak,
|
||||||
|
kb_layout = gb,gb
|
||||||
|
kb_options = grp:alt_shift_toggle,caps:escape
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,12 @@ in {
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# fix nixos-containers
|
||||||
|
networking.nat.enable = true;
|
||||||
|
networking.nat.internalInterfaces = ["ve-+"];
|
||||||
|
networking.nat.externalInterface = "eth0";
|
||||||
|
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
networking.firewall.interfaces.tailscale0 = {
|
networking.firewall.interfaces.tailscale0 = {
|
||||||
allowedTCPPortRanges = [
|
allowedTCPPortRanges = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue