Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
57
module/aspect/desktop/desktop-config.nix
Normal file
57
module/aspect/desktop/desktop-config.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
den.aspects = {
|
||||
desktop = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
dconf.enable = true; # desktop-config gnome
|
||||
adb.enable = true; # android-debug
|
||||
};
|
||||
environment.systemPackages = [
|
||||
# ----- gtk
|
||||
pkgs.gtk3
|
||||
pkgs.zenity
|
||||
# ----- screenshot (wayland)
|
||||
pkgs.grim
|
||||
pkgs.slurp
|
||||
pkgs.satty
|
||||
# ----- screenshot (x11)
|
||||
pkgs.flameshot
|
||||
# ----- output monitor (wayland)
|
||||
pkgs.kanshi
|
||||
pkgs.wlr-randr
|
||||
pkgs.way-displays
|
||||
# ----- output monitor (x11)
|
||||
pkgs.autorandr
|
||||
# ----- wallpaper (x11 + wayland)
|
||||
pkgs.waypaper
|
||||
# ----- wallpaper (wayland)
|
||||
pkgs.swww
|
||||
# ----- wallpaper (x11)
|
||||
pkgs.feh
|
||||
# ----- clipboard-tool (wayland)
|
||||
pkgs.wl-clipboard-rs
|
||||
# ----- notification-lib
|
||||
pkgs.libnotify
|
||||
pkgs.dunst
|
||||
];
|
||||
programs.xwayland.enable = true;
|
||||
# ----- force electron-app to wayland-compatible
|
||||
environment.variables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
# ----- x11 services
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
xkb = {
|
||||
layout = "us";
|
||||
variant = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue