nixos/system/global.nix
alydev 7f20f02dec
Some checks failed
/ Check (push) Has been cancelled
update
2025-10-31 19:18:18 +10:00

39 lines
1.1 KiB
Nix

({ config, pkgs, ... }: {
system.stateVersion = "25.05";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
cargo rustc just git wget gcc gnumake autoconf automake pkg-config cifs-utils ntfs3g yt-dlp
];
programs.nixvim = {
enable = true;
defaultEditor = true;
plugins.lsp = {
enable = true;
servers.nixd.enable = true;
};
};
security.sudo.wheelNeedsPassword = false;
networking.networkmanager.enable = true;
time.timeZone = "Australia/Brisbane";
users.users.aly = {
isNormalUser = true;
description = "aly";
hashedPassword = "$y$j9T$Q.yFJjo9LMA8o.7Ac5uSr/$Y8pYIPSzCXHSd4nAlUohaaohwpquK6XEIjxFKq3J4s/";
openssh.authorizedKeys.keys = import ../data/authorized_keys.nix;
extraGroups = [ "networkmanager" "wheel" ];
};
services.openssh = {
enable = true;
settings = {
X11Forwarding = true;
PermitRootLogin = "no";
PasswordAuthentication = true;
};
openFirewall = true;
};
})