cleaned up a bit

This commit is contained in:
Rouven Seifert 2023-01-20 22:12:45 +01:00
parent 35248129b5
commit b6633d73a3
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
8 changed files with 8 additions and 607 deletions

View file

@ -6,12 +6,8 @@
imports =
[
./hardware-configuration.nix
#./modules/autorandr
./modules/networks
#./modules/lightdm
#./modules/gdm
../../shared/vim.nix
#../../shared/input.nix
../../shared/sops.nix
../../shared/gpg.nix
../../shared/zsh-fix.nix
@ -26,23 +22,14 @@
console = {
keyMap = "dvorak";
font = "Lat2-Terminus16";
#useXkbConfig = true; # use xkbOptions in tty.
};
services.xserver = {
enable = true;
#displayManager = {
#defaultSession = "none+awesome";
#};
windowManager.awesome = {
enable = true;
luaModules = with pkgs.luaPackages; [
luarocks
vicious
];
};
libinput.enable = true;
};
fonts.fonts = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
dejavu_fonts
];
# Enable sound.
sound.enable = true;
@ -81,7 +68,6 @@
environment.systemPackages = with pkgs; [
# essentials
wget
gcc
git

View file

@ -1,45 +0,0 @@
{ config, pkgs, ... }:
let
fp_eDP-1 = "00ffffffffffff0009e5c608000000001f1d0104a522137803dae5955d59942924505400000001010101010101010101010101010101963b803671383c403020360058c21000001a000000000000000000000000000000000000000000fe00424f452043510a202020202020000000fe004e5631353646484d2d4e34380a0043";
fp_HDMI-1 = "00ffffffffffff00410ccfc0fb0100001f19010380301b782a3935a25952a1270c5054bd4b00d1c09500950fb30081c0818001010101023a801871382d40582c4500dd0c1100001e000000ff005a564331353331303030353037000000fc0050484c2032323356350a202020000000fd00384c1e5311000a202020202020017a020322f14f010203050607101112131415161f04230917078301000065030c001000023a801871382d40582c4500dd0c1100001e8c0ad08a20e02d10103e9600dd0c11000018011d007251d01e206e285500dd0c1100001e8c0ad090204031200c405500dd0c110000180000000000000000000000000000000000000000004d";
in
{
services.autorandr = {
enable = true;
profiles = {
default = {
fingerprint = {
eDP-1 = fp_eDP-1;
};
config = {
eDP-1 = {
enable = true;
primary = true;
position = "0x0";
mode = "1920x1080";
};
HDMI-1.enable = false;
};
};
home = {
fingerprint = {
eDP-1 = fp_eDP-1;
HDMI-1 = fp_HDMI-1;
};
config = {
eDP-1 = {
enable = true;
primary = true;
position = "0x0";
mode = "1920x1080";
};
HDMI-1 = {
enable = true;
position = "1920x0";
mode = "1920x1080";
};
};
};
};
};
}

View file

@ -1,6 +0,0 @@
{ config, pkgs, ... }:
{
services.xserver.displayManager.gdm = {
enable = true;
};
}

View file

@ -1,15 +0,0 @@
{ config, pkgs, ... }:
{
services.xserver.displayManager.lightdm = {
enable = true;
background = ../../../../images/lockscreen.png;
greeters.slick = {
enable = true;
extraConfig = ''
logo = ${../../../../images/nixos-logo.png}
show-a11y=false
show-hostname=false
'';
};
};
}