2024-10-09 14:06:35 +02:00
|
|
|
{ lib, pkgs, ... }:
|
2024-09-30 13:54:20 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.loader.timeout = 0;
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
|
|
|
boot.tmp.useTmpfs = true;
|
|
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Paris";
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
2024-10-01 19:54:30 +02:00
|
|
|
console.font = "Lat2-Terminus16";
|
2024-09-30 13:54:20 +02:00
|
|
|
|
2024-10-11 19:57:49 +02:00
|
|
|
security.polkit.enable = true;
|
|
|
|
|
2024-09-30 13:54:20 +02:00
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
pulse.enable = true;
|
2024-10-06 22:29:13 +02:00
|
|
|
jack.enable = true;
|
2024-09-30 13:54:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
git
|
|
|
|
vim
|
|
|
|
curl
|
|
|
|
ncdu
|
|
|
|
htop
|
|
|
|
tmux
|
|
|
|
file
|
|
|
|
tree
|
2024-10-21 10:56:03 +02:00
|
|
|
ldns
|
2024-09-30 13:54:20 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
services.udisks2.enable = true;
|
2024-09-30 16:43:05 +02:00
|
|
|
services.libinput.enable = true;
|
2024-10-01 11:13:54 +02:00
|
|
|
services.flatpak.enable = true;
|
2024-09-30 13:54:20 +02:00
|
|
|
|
|
|
|
programs.zsh.enable = true;
|
2024-10-15 11:15:15 +02:00
|
|
|
programs.dconf.enable = true;
|
2024-09-30 13:54:20 +02:00
|
|
|
|
2024-10-07 13:30:45 +02:00
|
|
|
virtualisation.libvirtd = {
|
|
|
|
enable = true;
|
|
|
|
qemu = {
|
|
|
|
package = pkgs.qemu_kvm;
|
|
|
|
runAsRoot = true;
|
|
|
|
swtpm.enable = true;
|
|
|
|
ovmf = {
|
|
|
|
enable = true;
|
|
|
|
packages = [
|
|
|
|
(pkgs.OVMF.override {
|
|
|
|
secureBoot = true;
|
|
|
|
tpmSupport = true;
|
|
|
|
}).fd
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
systemd.services.libvirtd.wantedBy = lib.mkForce [ ];
|
2024-10-15 10:47:12 +02:00
|
|
|
systemd.services.libvirt-guests.wantedBy = lib.mkForce [ ];
|
2024-10-07 13:30:45 +02:00
|
|
|
|
2024-10-15 11:15:15 +02:00
|
|
|
programs.hyprland.enable = true;
|
|
|
|
|
2024-09-30 13:54:20 +02:00
|
|
|
users.users.ahurac = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "networkmanager" ];
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|