mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 17:46:12 +01:00
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{
|
|
inputs,
|
|
outputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# Auto-upgrade in the background
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
flake = inputs.self.outPath;
|
|
flags = [
|
|
"--update-input"
|
|
"nixpkgs"
|
|
"-L"
|
|
];
|
|
dates = "09:00";
|
|
randomizedDelaySec = "45min";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
|
# wget
|
|
ntfs3g
|
|
dosfstools
|
|
unstable.nh
|
|
nix-output-monitor
|
|
nvd
|
|
];
|
|
|
|
fonts.packages = with pkgs; [
|
|
nerdfonts
|
|
noto-fonts
|
|
noto-fonts-cjk
|
|
noto-fonts-emoji
|
|
font-awesome
|
|
source-han-sans
|
|
source-han-sans-japanese
|
|
source-han-serif-japanese
|
|
];
|
|
|
|
environment.sessionVariables = {
|
|
FLAKE = "/home/mike/.dots";
|
|
};
|
|
|
|
programs.nix-ld = {
|
|
enable = true;
|
|
libraries = with pkgs; [
|
|
# Add any missing dynamic libraries for unpackaged
|
|
# programs here, NOT in environment.systemPackages
|
|
];
|
|
};
|
|
|
|
programs.dconf.enable = true;
|
|
}
|