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;
|
configDir = (import ../vars.nix).configDir;
|
||||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||||
in
|
in
|
||||||
|
@ -35,6 +37,7 @@ in
|
||||||
|
|
||||||
wofi = {
|
wofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = waypkgs.wofi;
|
||||||
settings = {
|
settings = {
|
||||||
prompt = "";
|
prompt = "";
|
||||||
allow_images = true;
|
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;
|
configDir = (import ../vars.nix).configDir;
|
||||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||||
|
|
||||||
|
@ -47,44 +49,44 @@ in
|
||||||
"hypr/hyprpaper.conf".source = symlink "${configDir}/hypr/hyprpaper.conf";
|
"hypr/hyprpaper.conf".source = symlink "${configDir}/hypr/hyprpaper.conf";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = [
|
||||||
# ags
|
# ags
|
||||||
sassc
|
pkgs.sassc
|
||||||
coloryou
|
pkgs.coloryou
|
||||||
libnotify
|
pkgs.libnotify
|
||||||
playerctl
|
pkgs.playerctl
|
||||||
bluez-tools
|
pkgs.bluez-tools
|
||||||
brightnessctl
|
pkgs.brightnessctl
|
||||||
pulseaudio
|
pkgs.pulseaudio
|
||||||
libinput
|
pkgs.libinput
|
||||||
|
|
||||||
## gui
|
## gui
|
||||||
pavucontrol # TODO: replace with ags widget
|
pkgs.pavucontrol # TODO: replace with ags widget
|
||||||
networkmanagerapplet # TODO: replace with ags widget
|
pkgs.networkmanagerapplet # TODO: replace with ags widget
|
||||||
blueberry # TODO: replace with ags widget
|
pkgs.blueberry # TODO: replace with ags widget
|
||||||
|
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
hyprpaper
|
pkgs.hyprpaper
|
||||||
swayidle
|
waypkgs.swayidle
|
||||||
lisgd
|
pkgs.lisgd
|
||||||
swayosd
|
pkgs.swayosd
|
||||||
squeekboard
|
pkgs.squeekboard
|
||||||
xclip
|
pkgs.xclip
|
||||||
wl-clipboard
|
waypkgs.wl-clipboard
|
||||||
cliphist
|
pkgs.cliphist
|
||||||
|
|
||||||
## gui
|
## gui
|
||||||
gtklock
|
pkgs.gtklock
|
||||||
wl-color-picker # TODO: add bind for this in hyprland
|
pkgs.wl-color-picker # TODO: add bind for this in hyprland
|
||||||
grim
|
waypkgs.grim
|
||||||
slurp
|
waypkgs.slurp
|
||||||
swappy
|
pkgs.swappy
|
||||||
|
|
||||||
## libs
|
## libs
|
||||||
libayatana-appindicator
|
pkgs.libayatana-appindicator
|
||||||
xdg-utils
|
pkgs.xdg-utils
|
||||||
evtest
|
pkgs.evtest
|
||||||
glib
|
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 = {
|
programs = {
|
||||||
|
|
||||||
obs-studio = {
|
obs-studio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
plugins = with waypkgs; [
|
||||||
wlrobs
|
obs-wlrobs
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue