move stuff around

This commit is contained in:
Grigory Shipunov 2022-06-17 02:47:08 +02:00
parent 0389a1fd5c
commit f0f64af0e9
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 71 additions and 71 deletions

View file

@ -32,7 +32,6 @@
./modules/wireguard.nix ./modules/wireguard.nix
./modules/binary-caches.nix ./modules/binary-caches.nix
./modules/science.nix ./modules/science.nix
./modules/sway.nix
]; ];
}; };
}; };

View file

@ -4,12 +4,23 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox-wayland firefox-wayland
dino
flameshot
wl-clipboard wl-clipboard
pulseaudioFull pulseaudioFull
screen-message screen-message
qbittorrent qbittorrent
dino
feh
mpv
zathura
brightnessctl
alacritty
pulsemixer
cmus
gtk-engine-murrine
gtk_engines
gsettings-desktop-schemas
xdg-utils
nextcloud-client
]; ];
#on the desktop, we need nice fonts ^^ #on the desktop, we need nice fonts ^^
@ -73,16 +84,65 @@
package = pkgs.bluezFull; package = pkgs.bluezFull;
}; };
nix = {
binaryCaches = [
"https://dump-dvb.cachix.org"
];
binaryCachePublicKeys = [
"dump-dvb.cachix.org-1:+Dq7gqpQG4YlLA2X3xJsG1v3BrlUGGpVtUKWk0dTyUU="
];
};
programs.zsh.vteIntegration = true; programs.zsh.vteIntegration = true;
programs.bash.vteIntegration = true; programs.bash.vteIntegration = true;
services.upower.enable = true; services.upower.enable = true;
services.acpid.enable = true;
programs.light.enable = true;
services.blueman.enable = true;
programs.xwayland.enable = true;
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
extraPackages = with pkgs; [
swaylock-fancy
swayidle
wl-clipboard
mako
alacritty
wofi
wofi-emoji
grim
slurp
waybar
gnome3.adwaita-icon-theme
i3status-rust
];
};
environment.sessionVariables = { GTK_THEME = "Adwaita:dark"; };
xdg.portal = {
enable = true;
wlr.enable = true;
};
services.udisks2.enable = true;
environment.shellAliases = {
mnt = "udisksctl mount -b";
umnt = "udisksctl unmount -b";
unlock = "udisksctl unlock -b";
lock = "udisksctl lock -b";
};
qt5.platformTheme = "gtk";
services.gnome.gnome-keyring.enable = true;
programs.evolution = {
enable = true;
plugins = [ pkgs.evolution-ews ];
};
# required to autounlock gnome-keyring
services.xserver = {
enable = true;
displayManager.gdm = {
enable = true;
wayland = true;
};
};
} }

View file

@ -1,59 +0,0 @@
{ config, pkgs, ... }: {
environment.systemPackages = with pkgs; [
firefox-wayland
dino
feh
mpv
zathura
brightnessctl
alacritty
pulsemixer
cmus
gtk-engine-murrine
gtk_engines
gsettings-desktop-schemas
xdg-utils
];
services.acpid.enable = true;
programs.light.enable = true;
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;
services.udisks2.enable = true;
environment.shellAliases = {
mnt = "udisksctl mount -b";
umnt = "udisksctl unmount -b";
unlock = "udisksctl unlock -b";
lock = "udisksctl lock -b";
};
qt5.platformTheme = "gnome";
}