xorg mode
This commit is contained in:
parent
92140a3cdf
commit
85763c692b
3 changed files with 277 additions and 0 deletions
|
@ -7,6 +7,28 @@ let
|
|||
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||
in {
|
||||
|
||||
environment.pathsToLink = ["/libexec"];
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
};
|
||||
displayManager = {
|
||||
defaultSession = "none+i3";
|
||||
};
|
||||
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
bemenu
|
||||
i3lock
|
||||
i3status-rust
|
||||
maim
|
||||
xclip
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
|
@ -38,6 +60,7 @@ in {
|
|||
|
||||
environment = {
|
||||
etc = {
|
||||
"i3/config".source = ../dotfiles/i3/config;
|
||||
"sway/config".source = ../dotfiles/sway/config;
|
||||
"sway/status.toml".source = ../dotfiles/sway/status.toml;
|
||||
"xdg/alacritty/alacritty.yml".source = ../dotfiles/alacritty.yml;
|
||||
|
@ -74,6 +97,7 @@ in {
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
xorg.xinit
|
||||
polkit
|
||||
polkit_gnome
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue