Files
dotfiles/hosts/common.nix
T
2026-07-07 09:25:07 +01:00

63 lines
1.3 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports =
[
../modules/secrets
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
networking.networkmanager.enable = true;
programs.fish.enable = true;
programs.tmux.enable = true;
programs.neovim = {
enable = true;
defaultEditor = true;
};
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
useXkbConfig = true;
};
users.users.me = {
isNormalUser = true;
shell = pkgs.fish;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILMeU7L0yQ4+O1GME4D4UM4f6nqua+pWt/zdsMvyHV94 u0_a309@localhost # mobile"
];
packages = with pkgs; [];
};
environment.systemPackages = with pkgs; [
nodejs
age
eza
yazi
gitui
bind
wget
curl
stow
unzip
git
];
# DO NOT CHNAGE, EVER!
system.stateVersion = "26.05";
}