This commit is contained in:
Ethan Lane 2024-07-17 09:19:17 +01:00
commit 9967a9d918
4 changed files with 32 additions and 8 deletions

View file

@ -49,6 +49,7 @@ in {
lightdm
lua
meslo-lgs-nf
mpv
neovim
networkmanager
nextcloud-client
@ -64,6 +65,7 @@ in {
pm2
plexamp
polybar
ranger
rofi
rofi-emoji
steam

View file

@ -23,11 +23,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1720244366,
"narHash": "sha256-WrDV0FPMVd2Sq9hkR5LNHudS3OSMmUrs90JUTN+MXpA=",
"lastModified": 1720691131,
"narHash": "sha256-CWT+KN8aTPyMIx8P303gsVxUnkinIz0a/Cmasz1jyIM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "49ee0e94463abada1de470c9c07bfc12b36dcf40",
"rev": "a046c1202e11b62cbede5385ba64908feb7bfac4",
"type": "github"
},
"original": {

View file

@ -43,10 +43,19 @@
i18n.defaultLocale = "en_GB.UTF-8";
security.rtkit.enable = true;
services = {
flatpak.enable = true;
dbus.enable = true;
picom.enable = true;
pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
xserver = {
enable = true;
@ -55,6 +64,7 @@
displayManager = {
lightdm.enable = true;
lightdm.greeters.gtk.enable = true;
};
};
};
@ -86,9 +96,9 @@
gcm = "git commit -m";
gco = "git checkout";
yt-mp3 = "yt-mp3 -xi --audio-format mp3";
yt-mp3-meta = "yt-mp3 -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata";
yt-mp3-meta-cookies = "yt-mp3 -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata --cookies-from-browser firefox";
yt-mp3 = "yt-dlp -xi --audio-format mp3";
yt-mp3-meta = "yt-dlp -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata";
yt-mp3-meta-cookies = "yt-dlp -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata --cookies-from-browser firefox";
};
};
@ -114,7 +124,6 @@
environment.systemPackages = with pkgs; [
docker
pulseaudio
];
virtualisation.docker.enable = true;
@ -125,7 +134,7 @@
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
hardware.pulseaudio.enable = true;
hardware.opengl.enable = true;
system.stateVersion = "24.05";
}

View file

@ -8,4 +8,17 @@
networking = {
hostName = "vylpes-virt";
};
services.xserver.displayManager.setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr -s 1920x1080
'';
services.xserver.displayManager.sessionCommands = ''
${pkgs.xorg.xrdb}/bin/xrdb -merge <<EOF
Xft.dpi: 96
Xcursor.theme: Adwaita
EOF
'';
virtualisation.virtualbox.guest.enable = true;
}