This commit is contained in:
Tao Tien 2023-09-30 21:59:04 -07:00
parent 369eb50e11
commit b1ec229a3e
4 changed files with 29 additions and 28 deletions

View file

@ -19,7 +19,7 @@
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
system = "aarch64-linux"; system = "aarch64-linux";
config.allowUnfree = true; config.allowUnfree = true;
config.allowUnsupportedSystem = true; # config.allowUnsupportedSystem = true;
}; };
}; };
nixosSystem = (systemModules: nixpkgs.lib.nixosSystem { modules = systemModules; }); nixosSystem = (systemModules: nixpkgs.lib.nixosSystem { modules = systemModules; });
@ -50,11 +50,11 @@
./extras/gaming.nix ./extras/gaming.nix
]; ];
NObangers = nixosSystem [ NObangers = nixosSystem [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable-arm ]; }) # ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable-arm ]; })
nixos-hw.raspberry-pi-4 nixos-hw.raspberry-pi-4
./systems/BASED.nix ./systems/BASED.nix
./systems/NObangers.nix ./systems/NObangers.nix
./users/tao.nix ./users/pi.nix
./extras/uwuraid.nix ./extras/uwuraid.nix
]; ];
}; };

View file

@ -2,7 +2,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# exfatprogs # exfatprogs
# rustup # rustup
appimage-run # appimage-run
bat bat
bottom bottom
cifs-utils cifs-utils
@ -13,18 +13,18 @@
helix helix
mesa mesa
mpv mpv
nfs-utils # nfs-utils
nil nil
nixpkgs-fmt # nixpkgs-fmt
# onlyoffice-bin # onlyoffice-bin
ouch ouch
ripgrep-all # ripgrep-all
skim skim
snapper # snapper
tree tree
unstable.yazi # unstable.yazi
unstable.joshuto # unstable.joshuto
unstable.oculante # xunstable.oculante
wezterm wezterm
wget wget
yt-dlp yt-dlp

View file

@ -7,6 +7,7 @@
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4"; fsType = "ext4";
autoResize = true;
}; };
programs.partition-manager.enable = false; programs.partition-manager.enable = false;
@ -22,17 +23,17 @@
boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.canTouchEfiVariables = false;
boot.loader.generic-extlinux-compatible.enable = true; boot.loader.generic-extlinux-compatible.enable = true;
console.enable = false; console.enable = false;
powerManagement.cpuFreqGovernor = "ondemand"; # powerManagement.cpuFreqGovernor = "ondemand";
hardware = { hardware = {
raspberry-pi."4" = { raspberry-pi."4" = {
apply-overlays-dtmerge.enable = true; apply-overlays-dtmerge.enable = true;
audio.enable = true; #audio.enable = true;
fkms-3d.enable = true; fkms-3d.enable = true;
}; };
deviceTree = { deviceTree = {
enable = true; enable = true;
filter = "*rpi-4-*.dtb"; # filter = "*rpi-4-*.dtb";
}; };
}; };

View file

@ -14,35 +14,35 @@
# nuspell # nuspell
# hunspellDicts.en-us-large # hunspellDicts.en-us-large
# rustdesk # rustdesk
bottles # bottles
cider # cider
darktable darktable
deluge deluge
discord # discord
gh gh
keepassxc keepassxc
libsForQt5.kcharselect libsForQt5.kcharselect
libsForQt5.kdeconnect-kde libsForQt5.kdeconnect-kde
mdbook # mdbook
partition-manager # partition-manager
slack # slack
tectonic tectonic
texlab texlab
tio tio
unstable.typst # unstable.typst
ocs-url ocs-url
typst-lsp typst-lsp
unstable.nushell # unstable.nushell
unstable.prusa-slicer # unstable.prusa-slicer
unstable.starship # unstable.starship
unstable.wezterm # unstable.wezterm
virt-manager virt-manager
zoom-us # zoom-us
zoxide zoxide
obs-studio obs-studio
]; ];
# programs.nushell.enable = true; # programs.nushell.enable = true;
environment.shells = with pkgs; [ unstable.nushell ]; # environment.shells = with pkgs; [ unstable.nushell ];
# services.expressvpn.enable = true; # services.expressvpn.enable = true;
@ -65,7 +65,7 @@
users.users.tao = { users.users.tao = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "libvirtd" "dialout" "scanner" "lp" ]; extraGroups = [ "wheel" "libvirtd" "dialout" "scanner" "lp" ];
shell = pkgs.unstable.nushell; # shell = pkgs.unstable.nushell;
}; };
# i18n.inputMethod = { # i18n.inputMethod = {