2022-11-03 18:24:52 -05:00
|
|
|
|
{ lib, config, pkgs, ... }:
|
2020-10-24 22:55:15 -05:00
|
|
|
|
|
|
|
|
|
{
|
2022-11-03 18:24:52 -05:00
|
|
|
|
imports =
|
|
|
|
|
[
|
2022-11-08 23:38:25 -06:00
|
|
|
|
<nixpkgs/nixos/modules/installer/virtualbox-demo.nix>
|
2022-11-03 18:24:52 -05:00
|
|
|
|
];
|
2022-11-08 23:38:25 -06:00
|
|
|
|
|
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
|
|
|
|
|
2022-11-11 22:13:24 -06:00
|
|
|
|
networking.hostName = "nixos-vm"; # Define your hostname.
|
2022-11-03 18:24:52 -05:00
|
|
|
|
|
2022-11-10 11:54:59 -06:00
|
|
|
|
time.timeZone = "America/Chicago";
|
2022-11-03 18:24:52 -05:00
|
|
|
|
|
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;
|
|
|
|
|
|
2022-11-10 20:09:49 -06:00
|
|
|
|
services.xserver = {
|
|
|
|
|
enable = true;
|
2022-11-11 22:13:24 -06:00
|
|
|
|
displayManager.startx.enable = true;
|
2022-11-14 19:10:33 -06:00
|
|
|
|
displayManager.sddm.enable = lib.mkForce false;
|
2022-11-11 22:13:24 -06:00
|
|
|
|
|
2022-11-10 20:09:49 -06:00
|
|
|
|
displayManager.autoLogin.enable = lib.mkForce false;
|
|
|
|
|
windowManager.qtile.enable = true;
|
|
|
|
|
};
|
2022-11-03 18:24:52 -05:00
|
|
|
|
|
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
2022-11-10 20:09:49 -06:00
|
|
|
|
users = {
|
|
|
|
|
defaultUserShell = pkgs.zsh;
|
|
|
|
|
users.daylin = {
|
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
|
|
|
|
};
|
2022-11-03 18:24:52 -05:00
|
|
|
|
};
|
|
|
|
|
|
2022-11-14 19:10:33 -06:00
|
|
|
|
fonts.fonts = with pkgs; [
|
2022-11-11 09:20:51 -06:00
|
|
|
|
noto-fonts
|
|
|
|
|
noto-fonts-emoji
|
|
|
|
|
noto-fonts-extra
|
|
|
|
|
(nerdfonts.override { fonts = [ "FiraCode" "FiraMono" ]; })
|
|
|
|
|
];
|
|
|
|
|
|
2022-11-09 13:19:54 -06:00
|
|
|
|
|
2022-11-21 13:09:53 -06:00
|
|
|
|
environment.systemPackages = with pkgs; [
|
2022-11-03 18:24:52 -05:00
|
|
|
|
fuse
|
|
|
|
|
zsh
|
|
|
|
|
|
|
|
|
|
wget
|
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
|
2022-11-09 00:17:54 -06:00
|
|
|
|
starship
|
2022-11-14 19:10:33 -06:00
|
|
|
|
chezmoi
|
|
|
|
|
delta
|
2022-11-08 23:58:31 -06:00
|
|
|
|
gh
|
2022-11-21 15:12:09 -06:00
|
|
|
|
|
2022-11-03 18:24:52 -05:00
|
|
|
|
nixpkgs-fmt
|
|
|
|
|
|
2022-11-10 13:50:22 -06:00
|
|
|
|
xdotool
|
2022-11-04 11:13:49 -05:00
|
|
|
|
wezterm
|
2022-11-10 13:50:22 -06:00
|
|
|
|
eww
|
|
|
|
|
rofi
|
|
|
|
|
dunst
|
2022-11-21 15:12:09 -06:00
|
|
|
|
feh
|
|
|
|
|
|
2022-11-10 20:06:35 -06:00
|
|
|
|
picom
|
2022-11-21 13:09:53 -06:00
|
|
|
|
gtk3
|
2022-11-21 15:12:09 -06:00
|
|
|
|
|
|
|
|
|
gnome.adwaita-icon-theme
|
2022-11-21 13:09:53 -06:00
|
|
|
|
gnome.gnome-settings-daemon
|
|
|
|
|
catppuccin-gtk
|
2022-11-10 13:50:22 -06:00
|
|
|
|
|
2022-11-10 11:51:16 -06:00
|
|
|
|
wavebox
|
2022-11-10 13:50:22 -06:00
|
|
|
|
|
2023-01-17 03:43:58 -06:00
|
|
|
|
pciutils
|
2022-11-10 13:50:17 -06:00
|
|
|
|
(vivaldi.override {
|
|
|
|
|
proprietaryCodecs = true;
|
|
|
|
|
enableWidevine = false;
|
2022-11-21 13:09:53 -06:00
|
|
|
|
commandLineArgs = "--force-dark-mode";
|
2022-11-10 13:50:17 -06:00
|
|
|
|
})
|
|
|
|
|
|
2022-11-21 15:12:09 -06:00
|
|
|
|
vscode.fhs
|
|
|
|
|
|
2022-11-10 13:50:17 -06:00
|
|
|
|
go
|
|
|
|
|
rustup
|
|
|
|
|
|
2022-11-09 13:45:01 -06:00
|
|
|
|
];
|
|
|
|
|
}
|