Rename directories for better organization
This commit is contained in:
parent
9d1bd2941f
commit
de8301ba4a
47 changed files with 52 additions and 52 deletions
49
personal/desktop.nix
Normal file
49
personal/desktop.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./symlinked/symlinks.nix
|
||||
../shared/users/vili
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
alacritty
|
||||
vlc
|
||||
flameshot
|
||||
speedcrunch
|
||||
];
|
||||
|
||||
services = {
|
||||
displayManager = {
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = "vili";
|
||||
};
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager = {
|
||||
lightdm.enable = true;
|
||||
sessionCommands = ''${pkgs.xorg.xrdb}/bin/xrdb -merge < ${
|
||||
(import ./embedded/xresources.nix { inherit pkgs; })
|
||||
}'';
|
||||
};
|
||||
};
|
||||
|
||||
pipewire.enable = false;
|
||||
pulseaudio.enable = true;
|
||||
};
|
||||
nixpkgs.config.pulseaudio = true;
|
||||
|
||||
security.polkit.enable = true;
|
||||
|
||||
xdg.mime.defaultApplications = {
|
||||
"application/pdf" = "org.gnome.Evince.desktop";
|
||||
"text/plain" = "org.xfce.mousepad.desktop";
|
||||
"text/x-tex" = "org.kde.kile.desktop";
|
||||
"inode/directory" = "pcmanfm.description";
|
||||
};
|
||||
|
||||
qt = {
|
||||
enable = true;
|
||||
style = "adwaita-dark";
|
||||
platformTheme = "gnome";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue