more prep for lambdaos
This commit is contained in:
parent
b707b1df5a
commit
ae2f6c2243
2 changed files with 28 additions and 29 deletions
|
|
@ -71,6 +71,11 @@ in
|
||||||
yubico-piv-tool
|
yubico-piv-tool
|
||||||
|
|
||||||
libreoffice-qt6
|
libreoffice-qt6
|
||||||
|
|
||||||
|
# for niri
|
||||||
|
wl-clipboard
|
||||||
|
libnotify
|
||||||
|
playerctl
|
||||||
];
|
];
|
||||||
pointerCursor = lib.mkIf enableGraphical {
|
pointerCursor = lib.mkIf enableGraphical {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
|
@ -104,6 +109,28 @@ in
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
|
waybar = {
|
||||||
|
modules = {
|
||||||
|
left = [
|
||||||
|
"niri/workspaces"
|
||||||
|
"tray"
|
||||||
|
"niri/window"
|
||||||
|
];
|
||||||
|
center = [
|
||||||
|
"clock"
|
||||||
|
"custom/spotify"
|
||||||
|
];
|
||||||
|
right = [
|
||||||
|
"custom/vpn"
|
||||||
|
"wireplumber"
|
||||||
|
"network"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"custom/poweroff"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
enable = lib.mkDefault enableGraphical;
|
||||||
|
};
|
||||||
games.enable = enableGraphical && enableGames;
|
games.enable = enableGraphical && enableGames;
|
||||||
apps = {
|
apps = {
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -93,38 +93,10 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modules.waybar = {
|
|
||||||
modules = {
|
|
||||||
left = [
|
|
||||||
"niri/workspaces"
|
|
||||||
"tray"
|
|
||||||
"niri/window"
|
|
||||||
];
|
|
||||||
center = [
|
|
||||||
"clock"
|
|
||||||
"custom/spotify"
|
|
||||||
];
|
|
||||||
right = [
|
|
||||||
"custom/vpn"
|
|
||||||
"wireplumber"
|
|
||||||
"network"
|
|
||||||
"cpu"
|
|
||||||
"memory"
|
|
||||||
"custom/poweroff"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
enable = lib.mkDefault true;
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
wl-clipboard
|
|
||||||
libnotify
|
|
||||||
playerctl
|
|
||||||
];
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"niri/config.kdl".source = import ../../packages/niri-config/default.nix {
|
"niri/config.kdl".source = import ../../packages/niri-config/default.nix {
|
||||||
pkgs = pkgs;
|
inherit pkgs inputs;
|
||||||
self-pkgs = inputs.self.packages.${pkgs.system};
|
self-pkgs = inputs.self.packages.${pkgs.system};
|
||||||
inputs = inputs;
|
|
||||||
displays = [
|
displays = [
|
||||||
{
|
{
|
||||||
name = "eDP-1";
|
name = "eDP-1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue