hyprland in home-manager!!!
This commit is contained in:
parent
328bd672af
commit
a9119067c5
14 changed files with 80 additions and 44 deletions
|
|
@ -5,22 +5,22 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_waybar =
|
||||
if config.networking.hostName == "marty-pc" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-latitude" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-server" then
|
||||
false
|
||||
else
|
||||
false;
|
||||
in
|
||||
# let
|
||||
# enable_waybar =
|
||||
# if config.networking.hostName == "marty-pc" then
|
||||
# true
|
||||
# else if config.networking.hostName == "marty-latitude" then
|
||||
# true
|
||||
# else if config.networking.hostName == "marty-server" then
|
||||
# false
|
||||
# else
|
||||
# false;
|
||||
# in
|
||||
|
||||
{
|
||||
programs = {
|
||||
waybar = {
|
||||
enable = enable_waybar;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs,... }:
|
||||
|
||||
{
|
||||
home.packages = [pkgs.cmatrix];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
theme = "sidebar";
|
||||
|
|
|
|||
|
|
@ -5,26 +5,41 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_hyprland =
|
||||
if config.networking.hostName == "marty-pc" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-latitude" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-server" then
|
||||
false
|
||||
else
|
||||
false;
|
||||
in
|
||||
# let
|
||||
# enable_hyprland =
|
||||
# if config.networking.hostName == "marty-pc" then
|
||||
# true
|
||||
# else if config.networking.hostName == "marty-latitude" then
|
||||
# true
|
||||
# else if config.networking.hostName == "marty-server" then
|
||||
# false
|
||||
# else
|
||||
# false;
|
||||
# in
|
||||
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = enable_hyprland;
|
||||
xwayland.enable = enable_hyprland;
|
||||
kitty = {
|
||||
enable = true;
|
||||
};
|
||||
hyprlock = {
|
||||
enable = enable_hyprland;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
bind = [
|
||||
"$mod, D, exec, rofi -show drun"
|
||||
"$mod, Enter, exec, kitty"
|
||||
];
|
||||
};
|
||||
};
|
||||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue