re-re-enabled hyperland
This commit is contained in:
parent
f5cf55ef26
commit
bcc246acf9
3 changed files with 9 additions and 9 deletions
14
flake.nix
14
flake.nix
|
|
@ -6,8 +6,8 @@
|
|||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
sops-nix.url = github:Mic92/sops-nix;
|
||||
devenv.url = "github:cachix/devenv/latest";
|
||||
# hyprland.url = "github:hyprwm/Hyprland";
|
||||
# xdph.url = "github:hyprwm/xdg-desktop-portal-hyprland";
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
xdph.url = "github:hyprwm/xdg-desktop-portal-hyprland";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, home-manager, nixos-hardware, disko, nixpkgs, sops-nix, devenv, ... }@inputs:
|
||||
outputs = { self, home-manager, nixos-hardware, disko, nixpkgs, sops-nix, devenv, hyprland, xdph ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
|
|
@ -63,8 +63,8 @@
|
|||
./machines/katana.nix #machine specific configuration
|
||||
"speccon18" #default user
|
||||
[
|
||||
# hyprland.nixosModules.default
|
||||
# ./modules/system/desktop-environments/hyprland.nix
|
||||
hyprland.nixosModules.default
|
||||
./modules/system/desktop-environments/hyprland.nix
|
||||
./hosts/katana/default.nix
|
||||
./hosts/katana/networkd.nix
|
||||
./hosts/katana/system-pkgs.nix
|
||||
|
|
@ -76,8 +76,8 @@
|
|||
|
||||
] #extra modules to be loaded
|
||||
[
|
||||
# hyprland.homeManagerModules.default
|
||||
# ./modules/home-manager/hyprland.nix
|
||||
hyprland.homeManagerModules.default
|
||||
./modules/home-manager/hyprland.nix
|
||||
./modules/home-manager/helix.nix
|
||||
./modules/home-manager/alacritty.nix
|
||||
./modules/home-manager/vscode.nix
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{ pkgs, config, lib, ...}:
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
systemdIntegration = true;
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
bind = SUPER, Return, exec, alacritty
|
||||
bind = CONTROL_SHIFT, W, exec, firefox
|
||||
bind = SUPER, colon, exec, rofi -show drun
|
||||
bind = SUPER, R, exec, rofi -show drun
|
||||
exec-once=waybar
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=mako
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ in {
|
|||
rofi-wayland
|
||||
libnotify
|
||||
mako
|
||||
xdg-desktop-portal-hyprland
|
||||
];
|
||||
sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue