pointfichiers/hosts/Zephyrus/default.nix

72 lines
1.2 KiB
Nix
Raw Normal View History

{
inputs,
pkgs,
lib,
...
}: {
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.power-profiles-daemon.enable = true;
# Programs
2024-10-01 10:04:12 +02:00
environment.systemPackages = with pkgs; [
git
wget
ncdu
neofetch
bottom
htop
iwgtk
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"
];
group = "gaspard";
};
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"gaspard" = import ../../users/gaspard.nix;
};
};
system.stateVersion = "24.11";
}