mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profiles/sway: init from legacy
This commit is contained in:
parent
97afc505cb
commit
d72190bee6
11 changed files with 166 additions and 125 deletions
|
@ -1,26 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
location.provider = "geoclue2";
|
||||
|
||||
services.geoclue2 = {
|
||||
enable = true;
|
||||
enableDemoAgent = true;
|
||||
|
||||
appConfig."gammastep" = {
|
||||
desktopID = "gammastep";
|
||||
isAllowed = true;
|
||||
isSystem = false;
|
||||
# Empty list allows all users
|
||||
users = [ ];
|
||||
};
|
||||
appConfig."gammastep-indicator" = {
|
||||
desktopID = "gammastep-indicator";
|
||||
isAllowed = true;
|
||||
isSystem = false;
|
||||
# Empty list allows all users
|
||||
users = [ ];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
remmina
|
||||
teamviewer
|
||||
];
|
||||
|
||||
services.pipewire.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
|
||||
# for firefox
|
||||
environment.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
XDG_CURRENT_DESKTOP = "sway";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
GTK_USE_PORTAL = "1";
|
||||
};
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../modules/theme.nix
|
||||
];
|
||||
|
||||
programs.light.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
polkit_gnome
|
||||
];
|
||||
environment.pathsToLink = [ "/libexec" ];
|
||||
programs.wshowkeys.enable = true;
|
||||
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures = {
|
||||
gtk = true;
|
||||
base = true;
|
||||
};
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
brightnessctl
|
||||
dmenu
|
||||
foot
|
||||
gammastep
|
||||
grim
|
||||
i3status-rust
|
||||
mako
|
||||
slurp
|
||||
swayidle
|
||||
swaylock
|
||||
wdisplays
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
wofi
|
||||
xwayland
|
||||
wshowkeys
|
||||
];
|
||||
|
||||
extraSessionCommands = ''
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export CLUTTER_BACKEND=wayland
|
||||
export SAL_USE_VCLPLUGIN=gtk3
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export MOZ_USE_XINPUT2=1
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
gtk-engine-murrine
|
||||
gtk_engines
|
||||
gsettings-desktop-schemas
|
||||
lxappearance
|
||||
qgnomeplatform
|
||||
numix-cursor-theme
|
||||
numix-icon-theme
|
||||
numix-icon-theme-circle
|
||||
adwaita-qt
|
||||
arc-kde-theme
|
||||
arc-theme
|
||||
];
|
||||
qt5.platformTheme = "qt5ct";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue