removed hyprland flake

This commit is contained in:
joy 2024-09-08 15:05:18 +02:00
parent cd8fd33a0b
commit 02717e7359
2 changed files with 168 additions and 176 deletions

View file

@ -3,13 +3,11 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
ags.url = "github:Aylur/ags";
stylix.url = "github:danth/stylix";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,9 +1,9 @@
{
pkgs,
inputs,
...
}: {
home-manager.users.joy.home.packages = with pkgs; [
home-manager.users.joy = {
home.packages = with pkgs; [
rofi-wayland
pwvucontrol
swww
@ -18,18 +18,11 @@
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
services.cliphist.enable = true;
home-manager.users.joy.services.cliphist.enable = true;
home-manager.users.joy.wayland.windowManager.hyprland = {
wayland.windowManager.hyprland = {
enable = true;
settings = {
"$mod" = "SUPER";
@ -75,6 +68,33 @@
workspace_swipe_distance = 200;
};
general = {
gaps_in = 5;
gaps_out = 10;
border_size = 4;
allow_tearing = false;
layout = "master";
};
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
};
decoration = {
rounding = 5;
};
input = {
kb_layout = "us,de";
kb_variant = ",qwerty";
kb_options = "grp:alt_shift_toggle,caps:swapescape";
};
device = {
name = "at-translated-set-2-keyboard";
repeat_rate = "50";
bind = [
# launch Apps
"$mod,TAB, exec, alacritty"
@ -170,33 +190,7 @@
", XF86AudioMicMute, exec, sh $sciPath/volume.sh -t"
", XF86PowerOff, exec, sh $sciPath/rick.sh"
];
general = {
gaps_in = 5;
gaps_out = 10;
border_size = 4;
allow_tearing = false;
layout = "master";
};
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
};
decoration = {
rounding = 5;
};
input = {
kb_layout = "us,de";
kb_variant = ",qwerty";
kb_options = "grp:alt_shift_toggle,caps:swapescape";
};
device = {
name = "at-translated-set-2-keyboard";
repeat_rate = "50";
};
};
};