Light refactor, move unified changes of sway into common linux header
This commit is contained in:
parent
09ea3e3742
commit
e11b3cde56
3 changed files with 8 additions and 15 deletions
|
|
@ -5,6 +5,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
xwayland.enable = true;
|
||||||
|
sway = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.swayfx;
|
||||||
|
};
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,6 @@
|
||||||
apple-silicon-support.nixosModules.apple-silicon-support
|
apple-silicon-support.nixosModules.apple-silicon-support
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
|
||||||
sway = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.swayfx;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelParams = [ "apple_dcp.show_notch=0" ];
|
kernelParams = [ "apple_dcp.show_notch=0" ];
|
||||||
loader.efi.canTouchEfiVariables = false;
|
loader.efi.canTouchEfiVariables = false;
|
||||||
|
|
|
||||||
|
|
@ -15,14 +15,9 @@
|
||||||
networking.hostName = "walnut-nixos";
|
networking.hostName = "walnut-nixos";
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
xwayland.enable = true;
|
sway.extraOptions = [
|
||||||
sway = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.swayfx;
|
|
||||||
extraOptions = [
|
|
||||||
"--unsupported-gpu"
|
"--unsupported-gpu"
|
||||||
];
|
];
|
||||||
};
|
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue