mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 14:40:19 +02:00
lix should now work - it's using main branch. swaylock-effects is now the default lockscreen on niri
49 lines
823 B
Nix
49 lines
823 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
system,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
imports = [
|
|
./ssh.nix
|
|
];
|
|
environment.systemPackages = [
|
|
pkgs.curl
|
|
pkgs.unzip
|
|
pkgs.kitty.terminfo
|
|
pkgs.foot.terminfo
|
|
pkgs.kittysay
|
|
pkgs.tmux
|
|
pkgs.fzf
|
|
pkgs.fastfetch
|
|
];
|
|
|
|
environment.variables.EDITOR = "nvim";
|
|
programs.fzf.fuzzyCompletion = true;
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "fr";
|
|
};
|
|
|
|
# Set your time zone.
|
|
time.timeZone = lib.mkDefault "Europe/Paris";
|
|
i18n.defaultLocale = "fr_FR.UTF-8";
|
|
|
|
# reducing disk usage
|
|
boot.loader.systemd-boot.configurationLimit = 10;
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 1w";
|
|
};
|
|
nix.settings.auto-optimise-store = true;
|
|
}
|