mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-10 15:36:25 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
# This file (and the global directory) holds config that i use on all hosts
|
|
{ inputs, outputs, ... }: {
|
|
imports = [
|
|
inputs.home-manager.nixosModules.home-manager
|
|
./acme.nix
|
|
./auto-upgrade.nix
|
|
./fish.nix
|
|
./locale.nix
|
|
./nix.nix
|
|
./openssh.nix
|
|
./optin-persistence.nix
|
|
./podman.nix
|
|
./sops.nix
|
|
./ssh-serve-store.nix
|
|
./steam-hardware.nix
|
|
./systemd-initrd.nix
|
|
./tailscale.nix
|
|
] ++ (builtins.attrValues outputs.nixosModules);
|
|
|
|
home-manager.extraSpecialArgs = { inherit inputs outputs; };
|
|
|
|
nixpkgs = {
|
|
overlays = builtins.attrValues outputs.overlays;
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
# Fix for qt6 plugins
|
|
# TODO: maybe upstream this?
|
|
environment.profileRelativeSessionVariables = {
|
|
QT_PLUGIN_PATH = [ "/lib/qt-6/plugins" ];
|
|
};
|
|
|
|
environment.enableAllTerminfo = true;
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
networking.domain = "m7.rs";
|
|
|
|
# Increase open file limit for sudoers
|
|
security.pam.loginLimits = [
|
|
{
|
|
domain = "@wheel";
|
|
item = "nofile";
|
|
type = "soft";
|
|
value = "524288";
|
|
}
|
|
{
|
|
domain = "@wheel";
|
|
item = "nofile";
|
|
type = "hard";
|
|
value = "1048576";
|
|
}
|
|
];
|
|
}
|