enabled home manager, I have no idea how to use it

This commit is contained in:
Aria Nolan 2023-09-29 20:30:26 -04:00
parent 465f68f3c5
commit c6061fc466
4 changed files with 32 additions and 30 deletions

View file

@ -9,24 +9,12 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./secrets.nix ./secrets.nix
<home-manager/nixos>
]; ];
# Enable Flakes and the new command-line tool # Enable Flakes and the new command-line tool
# nix.settings.experimental-features = [ "nix-command" "flakes" ]; # nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub.efiSupport = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.extraEntriesBeforeNixOS = true;
boot.loader.grub.extraEntries = ''
menuentry "Void" {
search --set=void --fs-uuid 987518fa-8ea0-49a6-b1e5-1fed4e4ae50f
configfile "($void)/boot/grub/grub.cfg"
}
'';
networking.hostName = "Voyager"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
@ -53,21 +41,28 @@
home = "/home/tacocat"; home = "/home/tacocat";
description = "Aria Nolan"; description = "Aria Nolan";
extraGroups = [ "wheel" "networkmanager" "audio" "video" "bluetooth" "kvm" ]; extraGroups = [ "wheel" "networkmanager" "audio" "video" "bluetooth" "kvm" ];
# shell = "/bin/bash";
packages = with pkgs; [
firefox
thunderbird
vim
neovim
kitty
wget
tmux
helix
river
git
gcc
];
}; };
nix.settings.trusted-users = [ "tacocat" ]; nix.settings.trusted-users = [ "tacocat" ];
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
vim fish
# neovim.packages."${pkgs.system}".neovim bash
neovim
git
wget
tmux
river
kitty
firefox
]; ];
defaultPackages = with pkgs; [ defaultPackages = with pkgs; [
perl perl
@ -76,14 +71,7 @@
]; ];
}; };
programs.zsh.enable = true; environment.variables.EDITOR = "helix";
programs.zsh.ohMyZsh = {
enable = true;
plugins = [ "git" "python" "man" ];
theme = "agnoster";
};
environment.variables.EDITOR = "nvim";
# programs.firefox.package = pkgs.latest.firefox-wayland; # programs.firefox.package = pkgs.latest.firefox-wayland;
# programs.firefox.enable = true; # programs.firefox.enable = true;

View file

@ -13,6 +13,20 @@
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" "nvme" ]; boot.kernelModules = [ "kvm-intel" "nvme" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub.efiSupport = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.extraEntriesBeforeNixOS = true;
boot.loader.grub.extraEntries = ''
menuentry "Void" {
search --set=void --fs-uuid 987518fa-8ea0-49a6-b1e5-1fed4e4ae50f
configfile "($void)/boot/grub/grub.cfg"
}
'';
networking.hostName = "JWST"; # Define your hostname.
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/488c7ef3-5ea1-4a16-a5f9-e241901c24ce"; { device = "/dev/disk/by-uuid/488c7ef3-5ea1-4a16-a5f9-e241901c24ce";