Initial switch to sway

This commit is contained in:
2024-08-10 12:27:56 +02:00
parent 5a58ab78a6
commit c2bf499c19
8 changed files with 277 additions and 2 deletions

View File

@ -87,7 +87,8 @@ inputs:
};
displayManager = {
defaultSession = "none+i3";
#defaultSession = "none+i3";
defaultSession = "sway";
};
xserver = {

View File

@ -15,6 +15,7 @@ inputs.nixpkgs.lib.nixosSystem {
nixpkgs.overlays = [ overlay-unstable ];
})
(import ./common.nix inputs)
(import ./sway.nix inputs)
(import ./morpheus/btrbk.nix inputs)
(import ./dev.nix inputs)
(import ./entertainment.nix inputs)

9
machines/sway.nix Normal file
View File

@ -0,0 +1,9 @@
inputs:
{ config, lib, pkgs, ... }: {
services.gnome.gnome-keyring.enable = true;
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}