diff --git a/homes/min/default.nix b/homes/min/default.nix index 5585ca4..59a8ad0 100644 --- a/homes/min/default.nix +++ b/homes/min/default.nix @@ -6,6 +6,7 @@ ./git.nix ./helix.nix ./hyprland.nix + ./kdeconnect.nix ./mpris.nix ./nh.nix ./shell.nix diff --git a/homes/min/hyprland.nix b/homes/min/hyprland.nix index 9d4e214..2e28aed 100644 --- a/homes/min/hyprland.nix +++ b/homes/min/hyprland.nix @@ -122,6 +122,10 @@ in { "$mod, right, movefocus, r" "$mod, up, movefocus, u" "$mod, down, movefocus, d" + "$mod SHIFT, left, resizeactive, -30 0" + "$mod SHIFT, right, resizeactive, 30 0" + "$mod SHIFT, up, resizeactive, 0 -30" + "$mod SHIFT, down, resizeactive, 0 30" ] ++ (lib.concatLists (lib.genList (i: let ws = i + 1; diff --git a/homes/min/kdeconnect.nix b/homes/min/kdeconnect.nix new file mode 100644 index 0000000..add7fcc --- /dev/null +++ b/homes/min/kdeconnect.nix @@ -0,0 +1,6 @@ +_: { + services.kdeconnect = { + enable = true; + indicator = true; + }; +} diff --git a/homes/min/shell.nix b/homes/min/shell.nix index e610994..54f5c71 100644 --- a/homes/min/shell.nix +++ b/homes/min/shell.nix @@ -41,7 +41,7 @@ _: { btop = { enable = true; - # settings.color_theme = "ayu"; + settings.color_theme = "ayu"; }; }; } diff --git a/hosts/mpl/configuration.nix b/hosts/mpl/configuration.nix index 4910e06..dfa73af 100644 --- a/hosts/mpl/configuration.nix +++ b/hosts/mpl/configuration.nix @@ -14,8 +14,11 @@ ./secrets.nix ]; - networking.hostName = "mpl"; # Define your hostname. - networking.networkmanager.enable = true; + networking = { + hostName = "mpl"; # Define your hostname. + networkmanager.enable = true; + firewall.enable = true; + }; # Allow unfree packages (firmware) nixpkgs.config.allowUnfree = true; @@ -82,6 +85,9 @@ # SSH askpass programs.ssh.enableAskPassword = true; + # KDE connect (firewall) + programs.kdeconnect.enable = true; + # Home-manager home-manager = { extraSpecialArgs = {inherit inputs;};