oizys/modules/configuration.nix
2023-01-19 07:11:35 -06:00

103 lines
1.7 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, config, pkgs, ... }:
{
imports =
[
<nixpkgs/nixos/modules/installer/virtualbox-demo.nix>
];
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "nixos-vm"; # Define your hostname.
time.timeZone = "America/Chicago";
programs.zsh.enable = true;
programs.nix-ld.enable = true;
services.xserver = {
enable = true;
displayManager.startx.enable = true;
displayManager.sddm.enable = lib.mkForce false;
displayManager.autoLogin.enable = lib.mkForce false;
windowManager.qtile.enable = true;
};
# Define a user account. Don't forget to set a password with passwd.
users = {
defaultUserShell = pkgs.zsh;
users.daylin = {
shell = pkgs.zsh;
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
};
fonts.fonts = with pkgs; [
noto-fonts
noto-fonts-emoji
noto-fonts-extra
(nerdfonts.override { fonts = [ "FiraCode" "FiraMono" ]; })
];
environment.systemPackages = with pkgs; [
fuse
zsh
wget
less
gnumake
gcc
git
vim
neovim
starship
chezmoi
delta
gh
nixpkgs-fmt
xdotool
wezterm
eww
rofi
dunst
feh
picom
gtk3
gnome.adwaita-icon-theme
gnome.gnome-settings-daemon
catppuccin-gtk
wavebox
pciutils
(vivaldi.override {
proprietaryCodecs = true;
enableWidevine = false;
commandLineArgs = "--force-dark-mode";
})
vscode.fhs
go
rustup
];
}