nix-conf/system/configuration.nix

50 lines
1 KiB
Nix
Raw Normal View History

2024-08-16 10:36:55 -04:00
{
2024-10-27 13:34:49 -04:00
config,
pkgs,
lib,
flake-programs-sqlite,
...
}: {
2024-08-16 10:36:55 -04:00
nix.settings = {
2024-10-27 13:34:49 -04:00
experimental-features = ["nix-command" "flakes"];
2024-08-16 10:36:55 -04:00
use-xdg-base-directories = true;
};
2024-12-28 11:01:20 -05:00
nix.channel.enable = false;
2024-08-16 10:36:55 -04:00
2024-10-27 13:34:49 -04:00
environment.pathsToLink = ["/libexec"];
2024-10-04 20:25:55 -04:00
environment.localBinInPath = true;
2024-08-23 19:55:31 -04:00
2024-08-18 12:27:36 -04:00
boot.tmp.useTmpfs = true;
2024-08-16 10:36:55 -04:00
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [
2024-12-20 21:25:22 -05:00
(neovim.override {withRuby = false;})
2024-08-16 10:36:55 -04:00
wget
tree
tmux
git
btop
cryptsetup
2024-09-02 15:43:30 -04:00
man-pages
man-pages-posix
home-manager
2025-01-19 00:44:22 -05:00
sops
2024-08-16 10:36:55 -04:00
];
2024-09-02 15:43:30 -04:00
documentation.dev.enable = true;
2024-10-04 20:25:55 -04:00
xdg.terminal-exec = {
2024-12-22 23:46:42 -05:00
enable = config.u.has.graphical;
2024-10-27 13:34:49 -04:00
settings.default = ["Alacritty.desktop"];
2024-10-04 20:25:55 -04:00
};
2024-12-22 23:46:42 -05:00
services.globalprotect.enable = config.u.has.graphical;
2024-10-11 21:25:02 -04:00
2024-11-25 02:38:43 -05:00
environment.etc."ssh/ssh_config".text = lib.mkAfter "Include /home/*/.local/ssh/config";
2024-10-22 21:40:59 -04:00
programs.command-not-found.dbPath = flake-programs-sqlite.packages.${pkgs.system}.programs-sqlite;
2024-10-28 03:45:23 -04:00
programs.ssh.enableAskPassword = false;
2024-08-16 10:36:55 -04:00
system.stateVersion = "24.05";
}