feat(wayland pkgs): use cachix and overlays instead of package set
This commit is contained in:
parent
254dcbe941
commit
61047b3dcc
6 changed files with 42 additions and 34 deletions
|
@ -2,6 +2,7 @@
|
|||
, home-manager
|
||||
, lib
|
||||
, nixpkgs
|
||||
, nixpkgs-wayland
|
||||
, nur
|
||||
, nix-melt
|
||||
, nurl
|
||||
|
@ -32,10 +33,18 @@
|
|||
substituters = [
|
||||
"https://hyprland.cachix.org"
|
||||
"https://nix-gaming.cachix.org"
|
||||
# Nixpkgs-Wayland
|
||||
"https://cache.nixos.org"
|
||||
"https://nixpkgs-wayland.cachix.org"
|
||||
#
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||
# Nixpkgs-Wayland
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
||||
#
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -45,6 +54,7 @@
|
|||
exact = false;
|
||||
};
|
||||
};
|
||||
nixpkgs.overlays = [ nixpkgs-wayland.overlay ];
|
||||
|
||||
services.xserver = {
|
||||
layout = "ca";
|
||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -21,6 +21,7 @@ const AppItem = (app, window) => {
|
|||
connections: [['clicked', () => {
|
||||
App.closeWindow(window);
|
||||
Utils.exec(`hyprctl dispatch exec ${app.executable}`);
|
||||
// TODO: focus on new client. Is this only needed after launch?
|
||||
++app.frequency;
|
||||
}]],
|
||||
child: Box({
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ pkgs, config, hyprland, hyprgrass, ags, nixpkgs-wayland, ... }: let
|
||||
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
|
||||
|
||||
{ pkgs, config, hyprland, hyprgrass, ags, ... }: let
|
||||
configDir = config.services.hostvars.configDir;
|
||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
|
||||
|
@ -52,44 +50,44 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
home.packages = with pkgs; [
|
||||
# ags
|
||||
pkgs.sassc
|
||||
pkgs.coloryou
|
||||
pkgs.libnotify
|
||||
pkgs.playerctl
|
||||
pkgs.bluez-tools
|
||||
pkgs.brightnessctl
|
||||
pkgs.pulseaudio
|
||||
pkgs.libinput
|
||||
sassc
|
||||
coloryou
|
||||
libnotify
|
||||
playerctl
|
||||
bluez-tools
|
||||
brightnessctl
|
||||
pulseaudio
|
||||
libinput
|
||||
|
||||
## gui
|
||||
pkgs.pavucontrol # TODO: replace with ags widget
|
||||
pkgs.networkmanagerapplet # TODO: replace with ags widget
|
||||
pkgs.blueberry # TODO: replace with ags widget
|
||||
pavucontrol # TODO: replace with ags widget
|
||||
networkmanagerapplet # TODO: replace with ags widget
|
||||
blueberry # TODO: replace with ags widget
|
||||
|
||||
|
||||
# Hyprland
|
||||
pkgs.hyprpaper
|
||||
waypkgs.swayidle
|
||||
pkgs.lisgd
|
||||
pkgs.swayosd
|
||||
pkgs.squeekboard
|
||||
pkgs.xclip
|
||||
waypkgs.wl-clipboard
|
||||
pkgs.cliphist
|
||||
hyprpaper
|
||||
swayidle
|
||||
lisgd
|
||||
swayosd
|
||||
squeekboard
|
||||
xclip
|
||||
wl-clipboard
|
||||
cliphist
|
||||
|
||||
## gui
|
||||
pkgs.gtklock
|
||||
pkgs.wl-color-picker # TODO: add bind for this in hyprland
|
||||
waypkgs.grim
|
||||
waypkgs.slurp
|
||||
pkgs.swappy
|
||||
gtklock
|
||||
wl-color-picker # TODO: add bind for this in hyprland
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
|
||||
## libs
|
||||
pkgs.libayatana-appindicator
|
||||
pkgs.xdg-utils
|
||||
pkgs.evtest
|
||||
pkgs.glib
|
||||
libayatana-appindicator
|
||||
xdg-utils
|
||||
evtest
|
||||
glib
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
# Home-manager module
|
||||
|
||||
{ nixpkgs-wayland, ... }: {
|
||||
{ ... }: {
|
||||
programs = {
|
||||
wofi = {
|
||||
enable = true;
|
||||
package = nixpkgs-wayland.packages.x86_64-linux.wofi;
|
||||
settings = {
|
||||
prompt = "";
|
||||
allow_images = true;
|
||||
|
|
Loading…
Reference in a new issue