Work on lightdm/sway stuff
This commit is contained in:
parent
7690b3a106
commit
0cd107a09d
9 changed files with 37 additions and 20 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
8
bin/vman
8
bin/vman
|
@ -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 )
|
2
env/nix/modules/de/base.nix
vendored
2
env/nix/modules/de/base.nix
vendored
|
@ -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
|
||||
|
|
2
env/nix/modules/de/sway.nix
vendored
2
env/nix/modules/de/sway.nix
vendored
|
@ -12,6 +12,8 @@
|
|||
wl-clipboard
|
||||
slurp
|
||||
grim
|
||||
font-awesome
|
||||
];
|
||||
};
|
||||
# services.xserver.displayManager.defaultSession = "sway-lytedev";
|
||||
}
|
||||
|
|
8
env/nix/modules/docker.nix
vendored
8
env/nix/modules/docker.nix
vendored
|
@ -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
22
env/nix/modules/lightdm.nix
vendored
Normal 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 ];
|
||||
}
|
6
env/nix/modules/neovim.nix
vendored
6
env/nix/modules/neovim.nix
vendored
|
@ -3,10 +3,12 @@
|
|||
systemPackages = [ pkgs.neovim ];
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
MANPAGER = "nvim +Man!";
|
||||
MANWIDTH = "80";
|
||||
};
|
||||
shellAliases = {
|
||||
vim = "neovim";
|
||||
vi = "neovim";
|
||||
vim = "nvim";
|
||||
vi = "nvim";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
1
env/nix/modules/users/daniel.nix
vendored
1
env/nix/modules/users/daniel.nix
vendored
|
@ -25,7 +25,6 @@
|
|||
strongswan
|
||||
gnumake
|
||||
elixir
|
||||
docker docker-compose
|
||||
postgresql
|
||||
htop
|
||||
google-cloud-sdk
|
||||
|
|
Reference in a new issue