Compare commits

...

2 commits

Author SHA1 Message Date
Evie Litherland-Smith 36372fa0ba Enable compression and forwardX11Trusted for freia & heimdall 2024-08-05 14:50:09 +01:00
Evie Litherland-Smith 14d8fba769 Enable xserver so X11 forwarding works properly
Enable autoLogin with sddm/plasma

Move some environment variable definitions around
2024-08-05 14:49:37 +01:00
5 changed files with 23 additions and 18 deletions

View file

@ -113,7 +113,7 @@
package = pkgs.nixVersions.latest;
settings.trusted-users = [ username ];
};
services.greetd.settings.initial_session.user = username;
services.displayManager.autoLogin.user = username;
programs.${loginShell} = lib.mkIf (loginShell != "bash") { enable = true; };
users.users.${username} = {
shell = pkgs.${loginShell};

View file

@ -32,10 +32,14 @@
"freia" = {
user = "elitherl";
hostname = "freia027.hpc.l";
compression = true;
forwardX11Trusted = true;
};
"heimdall" = {
user = "elitherl";
hostname = "10.40.4.115";
hostname = "10.40.4.115"; # heimdall115.jetdata.eu
compression = true;
forwardX11Trusted = true;
};
};
};

View file

@ -1,18 +1,10 @@
{
config,
lib,
pkgs,
...
}:
{ pkgs, ... }:
{
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
system.autoUpgrade.operation = "boot";
hardware.bluetooth.enable = true;
environment = {
sessionVariables = {
NIXOS_OZONE_WL = "1";
QT_QPA_PLATFORM = lib.mkIf config.programs.sway.enable "wayland";
};
sessionVariables.NIXOS_OZONE_WL = "1";
systemPackages = with pkgs; [
libsecret
libnotify
@ -55,7 +47,7 @@
};
};
xserver = {
enable = false;
enable = true;
xkb = {
layout = "gb";
variant = "";

View file

@ -1,11 +1,17 @@
{ pkgs, ... }:
{
imports = [ ./default.nix ];
environment.plasma6.excludePackages = with pkgs.kdePackages; [ plasma-browser-integration ];
environment = {
plasma6.excludePackages = with pkgs.kdePackages; [ plasma-browser-integration ];
sessionVariables.QT_QPA_PLATFORM = "wayland";
};
services = {
displayManager.sddm = {
enable = true;
wayland.enable = true;
displayManager = {
autoLogin.enable = true;
sddm = {
enable = true;
wayland.enable = true;
};
};
desktopManager.plasma6 = {
enable = true;

View file

@ -2,7 +2,10 @@
{
imports = [ ./default.nix ];
environment = {
sessionVariables.GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
sessionVariables = {
QT_QPA_PLATFORM = "wayland";
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
};
systemPackages = with pkgs; [
wtype
wl-clipboard