Hyprland up
This commit is contained in:
parent
d8ed1f42ae
commit
787124b6fa
5 changed files with 29 additions and 16 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
sops-nix.inputs.nixpkgs-stable.follows = "nixpkgs";
|
# sops-nix.inputs.nixpkgs-stable.follows = "nixpkgs";
|
||||||
|
|
||||||
git-hooks.url = "github:cachix/git-hooks.nix";
|
git-hooks.url = "github:cachix/git-hooks.nix";
|
||||||
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
@ -1118,7 +1118,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# hyprland = {};
|
hyprland = import ./hyprland.nix;
|
||||||
|
|
||||||
iex = {
|
iex = {
|
||||||
home.file.".iex.exs" = {
|
home.file.".iex.exs" = {
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
colors,
|
style,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
# font,
|
# font,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
inherit (style) colors;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./ewwbar.nix
|
./ewwbar.nix
|
||||||
./mako.nix
|
# ./mako.nix
|
||||||
./swaylock.nix
|
# ./swaylock.nix
|
||||||
# TODO: figure out how to import this for this module _and_ for the sway module?
|
# TODO: figure out how to import this for this module _and_ for the sway module?
|
||||||
./linux-desktop.nix
|
# ./linux-desktop.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: Hyprland seems to have issues with resuming from hibernation on my
|
# TODO: Hyprland seems to have issues with resuming from hibernation on my
|
||||||
|
@ -117,6 +119,10 @@
|
||||||
allow_workspace_cycles = true;
|
allow_workspace_cycles = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cursor = {
|
||||||
|
no_warps = true;
|
||||||
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
"col.active_border" = "0xff${colors.primary} 0xff${colors.green} 45deg";
|
"col.active_border" = "0xff${colors.primary} 0xff${colors.green} 45deg";
|
||||||
|
@ -125,7 +131,6 @@
|
||||||
gaps_in = 3;
|
gaps_in = 3;
|
||||||
gaps_out = 6;
|
gaps_out = 6;
|
||||||
border_size = 2;
|
border_size = 2;
|
||||||
no_cursor_warps = true;
|
|
||||||
resize_on_border = true;
|
resize_on_border = true;
|
||||||
no_focus_fallback = true;
|
no_focus_fallback = true;
|
||||||
|
|
||||||
|
@ -142,10 +147,12 @@
|
||||||
blur_new_optimizations = on
|
blur_new_optimizations = on
|
||||||
*/
|
*/
|
||||||
|
|
||||||
drop_shadow = "yes";
|
shadow = {
|
||||||
shadow_range = 4;
|
enabled = true;
|
||||||
shadow_render_power = 3;
|
color = "rgba(1a1a1aee)";
|
||||||
"col.shadow" = "rgba(1a1a1aee)";
|
range = 4;
|
||||||
|
render_power = 3;
|
||||||
|
};
|
||||||
|
|
||||||
dim_inactive = false;
|
dim_inactive = false;
|
||||||
};
|
};
|
||||||
|
@ -259,12 +266,12 @@
|
||||||
# master switch for pseudotiling. Enabling is bound to mod + P in the keybinds section below
|
# master switch for pseudotiling. Enabling is bound to mod + P in the keybinds section below
|
||||||
pseudotile = yes
|
pseudotile = yes
|
||||||
preserve_split = 1
|
preserve_split = 1
|
||||||
no_gaps_when_only = true
|
# no_gaps_when_only = true
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
new_is_master = true
|
# new_is_master = true
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
|
|
|
@ -24,7 +24,7 @@ config.show_new_tab_button_in_tab_bar = true
|
||||||
|
|
||||||
config.front_end = "WebGpu"
|
config.front_end = "WebGpu"
|
||||||
config.webgpu_power_preference = 'HighPerformance'
|
config.webgpu_power_preference = 'HighPerformance'
|
||||||
config.enable_wayland = false
|
config.enable_wayland = true
|
||||||
-- config.use_ime = true
|
-- config.use_ime = true
|
||||||
|
|
||||||
local function tab_title(tab_info)
|
local function tab_title(tab_info)
|
||||||
|
|
|
@ -33,6 +33,12 @@
|
||||||
package = flakeInputs.hyprland.packages.${pkgs.system}.hyprland;
|
package = flakeInputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.daniel = {
|
||||||
|
imports = with homeManagerModules; [
|
||||||
|
hyprland
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# TODO: include the home-manager modules for daniel?
|
# TODO: include the home-manager modules for daniel?
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -618,7 +624,7 @@
|
||||||
}: {
|
}: {
|
||||||
imports = with nixosModules; [
|
imports = with nixosModules; [
|
||||||
sway
|
sway
|
||||||
# hyprland
|
hyprland
|
||||||
enable-flatpaks-and-appimages
|
enable-flatpaks-and-appimages
|
||||||
fonts
|
fonts
|
||||||
development-tools
|
development-tools
|
||||||
|
|
Loading…
Reference in a new issue