adding basic window manager stuff
and vscodium
This commit is contained in:
parent
cc7fd013b0
commit
e0a6580e64
7 changed files with 119 additions and 0 deletions
27
modules/window_manager/hyprland.nix
Normal file
27
modules/window_manager/hyprland.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_hyprland =
|
||||
if config.networking.hostName == "marty-pc"
|
||||
then true
|
||||
else if config.networking.hostName == "marty-latitude"
|
||||
then true
|
||||
else false;
|
||||
in
|
||||
|
||||
{
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = enable_hyprland;
|
||||
xwayland.enable = enable_hyprland;
|
||||
};
|
||||
hyprlock = {
|
||||
enable = enable_hyprland;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue