NixConfig/configuration.nix
2025-02-02 13:14:43 +01:00

61 lines
996 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [
./hardware-configuration.nix
./modules/system/nix/default.nix
];
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
];
};
};
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
systemd = {
services = {
modem-manager.enable = false;
mpd.environment = {
XDG_RUNTIME_DIR = "/run/user/1000";
};
};
};
time.timeZone = "Europe/Berlin";
console = {
font = "Lat2-Terminus16";
useXkbConfig = true;
};
xdg.portal = {
enable = false;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
programs = {
nix-ld.enable = true;
fish.enable = true;
};
environment.etc = {
"makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
"pacman.conf".source = ./modules/system/raw/pacman.conf;
};
system.stateVersion = "unstable";
}