Work on lightdm/sway stuff
This commit is contained in:
parent
7690b3a106
commit
0cd107a09d
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
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, ... }: {
|
{ 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
|
||||||
|
|
2
env/nix/modules/de/sway.nix
vendored
2
env/nix/modules/de/sway.nix
vendored
|
@ -12,6 +12,8 @@
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
slurp
|
slurp
|
||||||
grim
|
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, ... }: {
|
{ 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 ];
|
systemPackages = [ pkgs.neovim ];
|
||||||
variables = {
|
variables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
MANPAGER = "nvim +Man!";
|
||||||
|
MANWIDTH = "80";
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
vim = "neovim";
|
vim = "nvim";
|
||||||
vi = "neovim";
|
vi = "nvim";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
1
env/nix/modules/users/daniel.nix
vendored
1
env/nix/modules/users/daniel.nix
vendored
|
@ -25,7 +25,6 @@
|
||||||
strongswan
|
strongswan
|
||||||
gnumake
|
gnumake
|
||||||
elixir
|
elixir
|
||||||
docker docker-compose
|
|
||||||
postgresql
|
postgresql
|
||||||
htop
|
htop
|
||||||
google-cloud-sdk
|
google-cloud-sdk
|
||||||
|
|
Reference in a new issue