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?
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
alias mutt="neomutt"

View file

@ -171,10 +171,6 @@ alias vd vdiff
# 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"
# override the man commands with vim
alias _man "\\man"
alias man "vman"
# neomutt is better
alias mutt "neomutt"
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, ... }: {
imports = [ ../lightdm.nix ];
fonts.fonts = with pkgs; [ iosevka ];
hardware.opengl = {
enable = true;
@ -7,6 +8,7 @@
};
environment = {
systemPackages = with pkgs; [
glxinfo
firefox-devedition-bin
pavucontrol
brightnessctl

View file

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

View file

@ -1,3 +1,9 @@
{ 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 ];
variables = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
MANWIDTH = "80";
};
shellAliases = {
vim = "neovim";
vi = "neovim";
vim = "nvim";
vi = "nvim";
};
};
}

View file

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