feat(nix): add nixpkgs-wayland flake
This commit is contained in:
parent
d8cfbe25b7
commit
f6b0c3c185
5 changed files with 41 additions and 35 deletions
BIN
nixos/flake.lock
BIN
nixos/flake.lock
Binary file not shown.
BIN
nixos/flake.nix
BIN
nixos/flake.nix
Binary file not shown.
|
@ -1,4 +1,6 @@
|
|||
{ config, pkgs, ... }: let
|
||||
{ config, pkgs, nixpkgs-wayland, ... }: let
|
||||
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
|
||||
|
||||
configDir = (import ../vars.nix).configDir;
|
||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
in
|
||||
|
@ -35,6 +37,7 @@ in
|
|||
|
||||
wofi = {
|
||||
enable = true;
|
||||
package = waypkgs.wofi;
|
||||
settings = {
|
||||
prompt = "";
|
||||
allow_images = true;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{ pkgs, config, hyprland, hyprgrass, ags, ... }: let
|
||||
{ pkgs, config, hyprland, hyprgrass, ags, nixpkgs-wayland, ... }: let
|
||||
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
|
||||
|
||||
configDir = (import ../vars.nix).configDir;
|
||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
|
||||
|
@ -47,44 +49,44 @@ in
|
|||
"hypr/hyprpaper.conf".source = symlink "${configDir}/hypr/hyprpaper.conf";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
home.packages = [
|
||||
# ags
|
||||
sassc
|
||||
coloryou
|
||||
libnotify
|
||||
playerctl
|
||||
bluez-tools
|
||||
brightnessctl
|
||||
pulseaudio
|
||||
libinput
|
||||
pkgs.sassc
|
||||
pkgs.coloryou
|
||||
pkgs.libnotify
|
||||
pkgs.playerctl
|
||||
pkgs.bluez-tools
|
||||
pkgs.brightnessctl
|
||||
pkgs.pulseaudio
|
||||
pkgs.libinput
|
||||
|
||||
## gui
|
||||
pavucontrol # TODO: replace with ags widget
|
||||
networkmanagerapplet # TODO: replace with ags widget
|
||||
blueberry # TODO: replace with ags widget
|
||||
pkgs.pavucontrol # TODO: replace with ags widget
|
||||
pkgs.networkmanagerapplet # TODO: replace with ags widget
|
||||
pkgs.blueberry # TODO: replace with ags widget
|
||||
|
||||
|
||||
# Hyprland
|
||||
hyprpaper
|
||||
swayidle
|
||||
lisgd
|
||||
swayosd
|
||||
squeekboard
|
||||
xclip
|
||||
wl-clipboard
|
||||
cliphist
|
||||
pkgs.hyprpaper
|
||||
waypkgs.swayidle
|
||||
pkgs.lisgd
|
||||
pkgs.swayosd
|
||||
pkgs.squeekboard
|
||||
pkgs.xclip
|
||||
waypkgs.wl-clipboard
|
||||
pkgs.cliphist
|
||||
|
||||
## gui
|
||||
gtklock
|
||||
wl-color-picker # TODO: add bind for this in hyprland
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
pkgs.gtklock
|
||||
pkgs.wl-color-picker # TODO: add bind for this in hyprland
|
||||
waypkgs.grim
|
||||
waypkgs.slurp
|
||||
pkgs.swappy
|
||||
|
||||
## libs
|
||||
libayatana-appindicator
|
||||
xdg-utils
|
||||
evtest
|
||||
glib
|
||||
pkgs.libayatana-appindicator
|
||||
pkgs.xdg-utils
|
||||
pkgs.evtest
|
||||
pkgs.glib
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ pkgs, config, nix-melt, ... }:
|
||||
|
||||
{ pkgs, config, nixpkgs-wayland, nix-melt, ... }: let
|
||||
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
|
||||
in
|
||||
{
|
||||
programs = {
|
||||
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
plugins = with waypkgs; [
|
||||
obs-wlrobs
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue