Work on lightdm/sway stuff

This commit is contained in:
Daniel Flanagan 2020-10-24 16:03:39 -05:00
parent 7690b3a106
commit 0cd107a09d
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
9 changed files with 37 additions and 20 deletions

View File

@ -140,10 +140,6 @@ alias pa="pulsemixer"
# this sometimes fixes steam dynamic library issues? # this sometimes fixes steam dynamic library issues?
alias lsteam="LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam" alias lsteam="LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam"
# override the man commands with vim
alias _man="\\man"
alias man="vman"
# neomutt is better # neomutt is better
alias mutt="neomutt" alias mutt="neomutt"

View File

@ -171,10 +171,6 @@ alias vd vdiff
# this sometimes fixes steam dynamic library issues? # this sometimes fixes steam dynamic library issues?
alias lsteam "env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam" alias lsteam "env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam"
# override the man commands with vim
alias _man "\\man"
alias man "vman"
# neomutt is better # neomutt is better
alias mutt "neomutt" alias mutt "neomutt"
alias mail "mutt" alias mail "mutt"

View File

@ -1,8 +0,0 @@
#!/usr/bin/env sh
# our vim config is setup to not auto-load sessions if we set the
# `asmanviewer` variable, so launch vim that way when using vim as our man
# page viewer
"$EDITOR" --cmd "let asmanviewer=1" -c "SuperMan $*" || \
( echo "No manual entry for $*" && exit 1 )

View File

@ -1,4 +1,5 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
imports = [ ../lightdm.nix ];
fonts.fonts = with pkgs; [ iosevka ]; fonts.fonts = with pkgs; [ iosevka ];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
@ -7,6 +8,7 @@
}; };
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
glxinfo
firefox-devedition-bin firefox-devedition-bin
pavucontrol pavucontrol
brightnessctl brightnessctl

View File

@ -12,6 +12,8 @@
wl-clipboard wl-clipboard
slurp slurp
grim grim
font-awesome
]; ];
}; };
# services.xserver.displayManager.defaultSession = "sway-lytedev";
} }

View File

@ -1,3 +1,9 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
imports = [ /etc/nixos/hardware-configuration.nix ]; virtualisation.docker = {
enable = true;
enableOnBoot = false;
};
environment.systemPackages = with pkgs; [
docker docker-compose
];
} }

22
env/nix/modules/lightdm.nix vendored Normal file
View File

@ -0,0 +1,22 @@
{ config, pkgs, ... }: {
# services.xserver.displayManager.defaultSession
services.xserver = {
enable = true;
displayManager.lightdm = {
enable = true;
greeter = {
enable = true;
};
greeters.gtk = {
enable = true;
theme = {
package = pkgs.arc-theme;
name = "Arc-Dark";
};
clock-format = "%H:%M:%S";
};
# background = "";
};
};
environment.systemPackages = with pkgs; [ lightdm lightdm_gtk_greeter ];
}

View File

@ -3,10 +3,12 @@
systemPackages = [ pkgs.neovim ]; systemPackages = [ pkgs.neovim ];
variables = { variables = {
EDITOR = "nvim"; EDITOR = "nvim";
MANPAGER = "nvim +Man!";
MANWIDTH = "80";
}; };
shellAliases = { shellAliases = {
vim = "neovim"; vim = "nvim";
vi = "neovim"; vi = "nvim";
}; };
}; };
} }

View File

@ -25,7 +25,6 @@
strongswan strongswan
gnumake gnumake
elixir elixir
docker docker-compose
postgresql postgresql
htop htop
google-cloud-sdk google-cloud-sdk