add gnome3
This commit is contained in:
parent
f422ad701c
commit
fc611d6083
5 changed files with 118 additions and 57 deletions
|
@ -2,37 +2,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./basic-tools.nix
|
||||
./gnupg.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
firefox-wayland
|
||||
dino
|
||||
alacritty
|
||||
xclip
|
||||
flameshot
|
||||
wl-clipboard
|
||||
brightnessctl
|
||||
feh
|
||||
mpv
|
||||
zathura
|
||||
pulsemixer
|
||||
pulseaudioFull
|
||||
screen-message
|
||||
cmus
|
||||
gtk-engine-murrine
|
||||
gtk_engines
|
||||
gsettings-desktop-schemas
|
||||
pamixer
|
||||
qbittorrent
|
||||
xdg-utils
|
||||
];
|
||||
|
||||
services.acpid.enable = true;
|
||||
programs.light.enable = true;
|
||||
|
||||
#on the desktop, we need nice fonts ^^
|
||||
fonts.fonts = with pkgs; [
|
||||
dejavu_fonts
|
||||
|
@ -74,9 +53,9 @@
|
|||
};
|
||||
|
||||
# Enable sound.
|
||||
sound.enable = true;
|
||||
security.rtkit.enable = true;
|
||||
hardware.pulseaudio = {
|
||||
enable = false;
|
||||
zeroconf.discovery.enable = true;
|
||||
extraClientConf = ''
|
||||
autospawn=yes
|
||||
|
@ -94,32 +73,6 @@
|
|||
package = pkgs.bluezFull;
|
||||
};
|
||||
|
||||
services.blueman.enable = true;
|
||||
|
||||
services.xserver.enable = false;
|
||||
programs.xwayland.enable = true;
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
extraPackages = with pkgs; [
|
||||
swaylock
|
||||
swayidle
|
||||
wl-clipboard
|
||||
mako
|
||||
alacritty
|
||||
wofi
|
||||
waybar
|
||||
gnome3.adwaita-icon-theme
|
||||
i3status-rust
|
||||
];
|
||||
};
|
||||
environment.sessionVariables = { GTK_THEME = "Adwaita:dark"; };
|
||||
environment.loginShellInit = ''
|
||||
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec sway
|
||||
fi
|
||||
'';
|
||||
xdg.portal.wlr.enable = true;
|
||||
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
|
@ -132,12 +85,4 @@
|
|||
programs.zsh.vteIntegration = true;
|
||||
programs.bash.vteIntegration = true;
|
||||
services.upower.enable = true;
|
||||
|
||||
services.udisks2.enable = true;
|
||||
environment.shellAliases = {
|
||||
mnt = "udisksctl mount -b";
|
||||
umnt = "udisksctl unmount -b";
|
||||
};
|
||||
|
||||
qt5.platformTheme = "gnome";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue