pointfichiers/hosts/Zephyrus/default.nix

73 lines
1.3 KiB
Nix
Raw Normal View History

{
inputs,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
];
# Nix
nix.settings.experimental-features = ["nix-command" "flakes"];
# Set your time zone.
time.timeZone = "Europe/Paris";
2024-09-20 15:16:34 +02:00
2024-09-20 16:54:41 +02:00
console.keyMap = "fr";
security.pam.services.swaylock = {};
# Services
services.seatd.enable = true;
services.blueman.enable = true;
services.udisks2.enable = true;
services.power-profiles-daemon.enable = true;
# Programs
2024-10-01 10:04:12 +02:00
environment.systemPackages = with pkgs; [
git
wget
ncdu
neofetch
bottom
htop
wg-netmanager
2024-10-01 10:04:12 +02:00
podman-compose
];
2024-10-01 10:04:12 +02:00
#Podman
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
# User config
users.groups.gaspard = {
name = "gaspard";
};
users.users.gaspard = {
isNormalUser = true;
extraGroups = [
"wheel"
"video"
"seat"
2024-09-20 19:59:57 +02:00
"audio"
"networkmanager"
];
group = "gaspard";
};
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"gaspard" = import ../../users/gaspard.nix;
};
};
system.stateVersion = "24.11";
}