Refactoring and addition of mpd

This commit is contained in:
Lyes Saadi 2025-07-28 13:05:47 +02:00
parent fc5a17714d
commit 5a7ab0fc05
Signed by: lyes
GPG key ID: 55A1D803917CF39A
12 changed files with 253 additions and 231 deletions

View file

@ -60,12 +60,4 @@
};
flake = "/home/lyes/Documents/nixos";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.11"; # Did you read the comment?
}

View file

@ -2,7 +2,8 @@
{
# Time
time.timeZone = "Europe/Paris";
# time.timeZone = "Europe/Paris";
time.timeZone = "Africa/Tunis";
# Locale
i18n.defaultLocale = "fr_FR.UTF-8";

View file

@ -1,8 +1,13 @@
{ ... }:
{ pkgs, ... }:
{
# Networking
networking.networkmanager.enable = true;
networking.networkmanager = {
enable = true;
plugins = with pkgs; [
networkmanager-openvpn
];
};
networking.nameservers = [
"9.9.9.9"
@ -30,6 +35,8 @@
'';
};
environment.systemPackages = with pkgs; [ wireguard-tools ];
# Captive portals
programs.captive-browser = {
enable = true;

View file

@ -48,18 +48,6 @@
xdg.portal.enable = true;
# Sound
# services.pulseaudio.enable = false;
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
#jack.enable = true;
};
# Virtualisation
virtualisation.libvirtd.enable = true;
# virtualisation.virtualbox.host.enable = true;