oizys/modules/configuration.nix

67 lines
1.1 KiB
Nix
Raw Normal View History

2022-11-03 18:24:52 -05:00
{ lib, config, pkgs, ... }:
2020-10-24 22:55:15 -05:00
{
2023-01-24 10:16:15 -06:00
imports = [
<nixpkgs/nixos/modules/virtualisation/google-compute-image.nix>
];
security.sudo.wheelNeedsPassword = false;
users.defaultUserShell = pkgs.zsh;
users.extraUsers.daylin = {
isNormalUser = true;
extraGroups = ["wheel" "docker"];
useDefaultShell = true;
};
services.openssh.passwordAuthentication = true;
system.stateVersion = "22.11";
2022-11-10 20:06:35 -06:00
nixpkgs.config.allowUnfree = true;
2022-11-23 09:32:58 -06:00
nix.package = pkgs.nixUnstable;
2022-11-03 18:24:52 -05:00
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
2022-11-14 19:10:33 -06:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2022-11-10 20:06:35 -06:00
2023-01-24 10:16:15 -06:00
networking.hostName = "jeran"; # Define your hostname.
2022-11-10 11:54:59 -06:00
time.timeZone = "America/Chicago";
2022-11-21 15:12:09 -06:00
programs.zsh.enable = true;
2023-01-17 03:43:58 -06:00
programs.nix-ld.enable = true;
2023-01-24 10:16:15 -06:00
virtualisation.docker.enable = true;
2022-11-21 13:09:53 -06:00
environment.systemPackages = with pkgs; [
2022-11-03 18:24:52 -05:00
zsh
2023-01-24 10:16:15 -06:00
tmux
2022-11-03 18:24:52 -05:00
wget
2023-01-17 15:40:16 -06:00
unzip
2023-01-24 10:16:15 -06:00
htop
2022-11-14 19:10:33 -06:00
less
2022-11-04 11:53:59 -05:00
gnumake
gcc
2022-11-03 18:24:52 -05:00
git
2022-11-04 11:53:59 -05:00
2022-11-08 23:58:31 -06:00
vim
2022-11-04 11:13:49 -05:00
neovim
2023-01-24 10:16:15 -06:00
2022-11-09 00:17:54 -06:00
starship
2023-01-24 10:16:15 -06:00
atuin
# sheldon
2022-11-14 19:10:33 -06:00
chezmoi
2023-01-24 10:16:15 -06:00
2023-01-17 13:17:35 -06:00
fzf
2022-11-14 19:10:33 -06:00
delta
2023-01-24 10:16:15 -06:00
ripgrep
lsd
2022-11-08 23:58:31 -06:00
gh
2023-01-24 10:16:15 -06:00
lazygit
2022-11-21 15:12:09 -06:00
2022-11-03 18:24:52 -05:00
nixpkgs-fmt
2023-01-24 10:16:15 -06:00
nodejs
2022-11-10 13:50:17 -06:00
go
rustup
2022-11-09 13:45:01 -06:00
];
}