mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Setup nixnuc, rework home manager files
This commit is contained in:
parent
ce3edc74b5
commit
493ac02c33
18 changed files with 273 additions and 100 deletions
54
modules/system/common/all-nixos.nix
Normal file
54
modules/system/common/all-nixos.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ config, pkgs, hostname, username, ... }: {
|
||||
imports = [
|
||||
./linux/internationalisation.nix
|
||||
];
|
||||
|
||||
environment = {
|
||||
shells = with pkgs; [ bash zsh ];
|
||||
systemPackages = with pkgs; [
|
||||
dconf2nix
|
||||
file
|
||||
neofetch
|
||||
python3
|
||||
tailscale
|
||||
unzip
|
||||
wget
|
||||
];
|
||||
};
|
||||
|
||||
fonts.fontDir.enable = false;
|
||||
fonts.packages = with pkgs; [
|
||||
font-awesome
|
||||
(nerdfonts.override {
|
||||
fonts = [
|
||||
"Hack"
|
||||
"SourceCodePro"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
networking.hostName = "${hostname}";
|
||||
|
||||
nix.settings = {
|
||||
allowed-users = [ "${username}" ];
|
||||
experimental-features = [
|
||||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
trusted-users = [ "${username}" ];
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue