mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 11:15:49 -06:00
future
This commit is contained in:
parent
f266518fa1
commit
8b8a635693
2 changed files with 34 additions and 64 deletions
|
@ -18,6 +18,13 @@
|
||||||
./modules/environment.nix
|
./modules/environment.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
jeran = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./modules/configuration.nix
|
||||||
|
./modules/environment.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
<nixpkgs/nixos/modules/virtualisation/google-compute-image.nix>
|
||||||
<nixpkgs/nixos/modules/installer/virtualbox-demo.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";
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nix.package = pkgs.nixUnstable;
|
nix.package = pkgs.nixUnstable;
|
||||||
|
@ -14,48 +22,19 @@
|
||||||
'';
|
'';
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
networking.hostName = "jeran"; # Define your hostname.
|
||||||
networking.hostName = "nixos-vm"; # Define your hostname.
|
|
||||||
|
|
||||||
time.timeZone = "America/Chicago";
|
time.timeZone = "America/Chicago";
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
virtualisation.docker.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; [
|
environment.systemPackages = with pkgs; [
|
||||||
fuse
|
|
||||||
zsh
|
zsh
|
||||||
|
|
||||||
|
tmux
|
||||||
wget
|
wget
|
||||||
unzip
|
unzip
|
||||||
|
htop
|
||||||
less
|
less
|
||||||
gnumake
|
gnumake
|
||||||
gcc
|
gcc
|
||||||
|
@ -64,39 +43,23 @@
|
||||||
|
|
||||||
vim
|
vim
|
||||||
neovim
|
neovim
|
||||||
|
|
||||||
starship
|
starship
|
||||||
|
atuin
|
||||||
|
# sheldon
|
||||||
chezmoi
|
chezmoi
|
||||||
|
|
||||||
fzf
|
fzf
|
||||||
delta
|
delta
|
||||||
|
ripgrep
|
||||||
|
lsd
|
||||||
|
|
||||||
gh
|
gh
|
||||||
|
lazygit
|
||||||
|
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
|
|
||||||
xdotool
|
nodejs
|
||||||
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
|
go
|
||||||
rustup
|
rustup
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue