mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
rename modules folder to imports
This commit is contained in:
parent
ad16fd69f5
commit
ad704d807c
21 changed files with 12 additions and 12 deletions
55
imports/dwm.nix
Normal file
55
imports/dwm.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
pkgs,
|
||||
settings,
|
||||
...
|
||||
}: {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
exportConfiguration = true; #make config debuggable
|
||||
layout = "us";
|
||||
libinput.enable = true;
|
||||
xautolock.enable = false;
|
||||
desktopManager.xterm.enable = false;
|
||||
excludePackages = [pkgs.xterm];
|
||||
windowManager.dwm.enable = true;
|
||||
displayManager = {
|
||||
sessionCommands = ''
|
||||
feh --bg-scale ${../images/recursion.png}
|
||||
'';
|
||||
defaultSession = "none+dwm";
|
||||
lightdm = {
|
||||
enable = true;
|
||||
background = ../images/recursion.png;
|
||||
greeters.mini = {
|
||||
enable = true;
|
||||
user = settings.username;
|
||||
extraConfig = ''
|
||||
[greeter]
|
||||
show-password-label = false
|
||||
password-label-text =
|
||||
invalid-password-text =
|
||||
show-input-cursor = false
|
||||
password-alignment = center
|
||||
password-input-width = 19
|
||||
show-image-on-all-monitors = true
|
||||
|
||||
|
||||
[greeter-theme]
|
||||
font = "OverpassMono Nerd Font"
|
||||
font-size = 1.1em
|
||||
text-color = "#7AA2F7"
|
||||
error-color = "#DB4B4B"
|
||||
background-color = "#000000"
|
||||
window-color = "#000000"
|
||||
border-color = "#000000"
|
||||
password-character = -1
|
||||
password-color = "#7AA2F7"
|
||||
password-background-color = "#24283B"
|
||||
password-border-color = "#000000"
|
||||
password-border-radius = 0.341125em
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue