This commit is contained in:
Mira 2024-07-03 12:58:48 -04:00
parent fa369941d5
commit 6b4057baef
2 changed files with 29 additions and 10 deletions

View file

@ -109,38 +109,47 @@
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmOATOG9brF/pBmMufk0LQkPQuLwgZAOZMeHCSdOpr+4Tap/mmqCHGtDL/JW6KsDfFpOFmdnSoeihVPGT3r/Mixt3cGOJlzoWXDt2bHyaEOsLz5B3MuYqBIXG3d2wvxharbmlVg3xyArSaCtuBZcopC5rXajnrPW4HxW+pxPC1NsL3RRGSF0edWdJVdX8oJJBsMMUzfeWh1bxEz2iLKMSYb6KPbQITwFTr+RuiEIppOW3n0zJko1wNG8oWTOgHdkmY4C4rUOk6KgW4qs19t7Mjlc7CnZa3XV7/0DcxERGsphpKvS7dpnEtOt7RaHUr/t0V3yLgl58MPbJKG6WSNIRaXZ0EPSlzz8k+4JjuEFdCDg7WjEDSZsBS9U4AyYQjlEwrkinT7g+LUVKYEDqb0hE539SwARvHZsOXrRgtA+Jh2CJIb/rRWfQRkgxpT9hKiBfYbSj8qbphUrbJ/g72UOQyhIbEW8fF9vmWY75NV/X2+EFZyF56ZhvLFk08sjGIF+s= u0_a441@localhost"
];
};
# users.users.git = {
# isSystemUser = true;
# home = "/home/git";
# group = "nogroup";
# shell = pkgs.zsh;
# # shell = "${pkgs.git}/bin/git-shell";
# };
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
go
alejandra
alacritty
alejandra
bat
btdu
chezmoi
btop
btrbk
cargo
chezmoi
czkawka
delta
docker
fastfetch
file
fzf
gcc
git
fastfetch
go
hyfetch
hyperfine
jellyfin-media-player
kodiPackages.jellyfin
kodiPackages.steam-controller
lazydocker
lazygit
lsd
mcfly
neovim
nodePackages.pnpm
nil
nodePackages.nodejs
kodiPackages.jellyfin
kodiPackages.steam-controller
nodePackages.pnpm
ripgrep
sheldon
starship
tmux
@ -148,7 +157,6 @@
wget
zoxide
zsh
nil
];
# Some programs need SUID wrappers, can be configured further or are
@ -201,6 +209,10 @@
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
};
# extraConfig = ''
# Match User git
# ForceCommand ssh git@localhost -p 2221 -o StrictHostKeyChecking=no
# '';
};
virtualisation.docker = {
@ -234,6 +246,13 @@
User = "root";
};
};
systemd.services.docker = {
unitConfig = {
RequiresMountsFor = "/data";
};
wantedBy = ["graphical.target"];
};
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.

View file

@ -48,7 +48,7 @@
fileSystems."/raid" = {
device = "/dev/sdb1";
fsType = "btrfs";
options = ["noatime" "noauto" "x-systemd.automount" "nofail" "space_cache=v2" "compress=zstd"];
options = ["noatime" "space_cache=v2" "compress=zstd"];
};
# swapDevices = [ "/swap/swapfile" ];