mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{ inputs, lib, config, pkgs, ... }:
|
|
{
|
|
# TODO: put in hardware-configuration.nix
|
|
imports = [
|
|
"${inputs.nixpkgs}/nixos/modules/virtualisation/google-compute-image.nix"
|
|
];
|
|
security.sudo.wheelNeedsPassword = false;
|
|
users.motd = (builtin.readFile "motd");
|
|
users.defaultUserShell = pkgs.zsh;
|
|
users.extraUsers.daylin = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "docker" ];
|
|
useDefaultShell = true;
|
|
};
|
|
services.openssh.passwordAuthentication = true;
|
|
services.resolved.enable = true;
|
|
system.stateVersion = "22.11";
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.package = pkgs.nixUnstable;
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
networking.hostName = "jeran"; # Define your hostname.
|
|
time.timeZone = "America/Chicago";
|
|
programs.zsh.enable = true;
|
|
programs.nix-ld.enable = true;
|
|
virtualisation.docker.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
zsh
|
|
|
|
tmux
|
|
wget
|
|
unzip
|
|
less
|
|
gnumake
|
|
gcc
|
|
|
|
git
|
|
|
|
vim
|
|
neovim
|
|
|
|
starship
|
|
atuin
|
|
# sheldon
|
|
chezmoi
|
|
|
|
fzf
|
|
delta
|
|
ripgrep
|
|
lsd
|
|
|
|
gh
|
|
lazygit
|
|
|
|
nixpkgs-fmt
|
|
|
|
nodejs
|
|
go
|
|
rustup
|
|
];
|
|
}
|