mess migration

This commit is contained in:
atagen 2023-09-11 21:30:13 +10:00
parent fbc47ef8f7
commit 6bee06e028
77 changed files with 144 additions and 60 deletions

0
system/adrift.nix Normal file → Executable file
View file

0
system/cachix.nix Normal file → Executable file
View file

0
system/cachix/nix-community.nix Normal file → Executable file
View file

8
system/configuration.nix Normal file → Executable file
View file

@ -31,7 +31,7 @@
nix = {
registry = lib.mapAttrs (_: value: {flake = value;}) inputs;
settings = {
trusted-users = ["bolt"];
trusted-users = ["bolt" "plank"];
experimental-features = "nix-command flakes";
substitute = true;
substituters = ["https://anyrun.cachix.org" "https://jakestanger.cachix.org"];
@ -146,10 +146,8 @@
home-manager
cachix
ark
curl
exa
eza
swaybg
git
@ -201,6 +199,8 @@
};
};
systemd.services."user@".serviceConfig.Delegate = "memory pids cpu cpuset";
security.pam.services.gtklock = {
text = ''
auth include login

0
system/overlay.nix Normal file → Executable file
View file

26
system/quiver.nix Normal file → Executable file
View file

@ -16,7 +16,7 @@
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd" "i2c-dev"];
boot.kernelParams = [
"nvidia_drm.modeset=1"
"nvidia_drm.modeset=1"
"mitigations=off"
"acpi_enforce_resources=lax"
"preempt=full"
@ -57,9 +57,14 @@
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
# dockerSocket.enable = true;
# enableNvidia = true;
defaultNetwork.settings.dns_enabled = true;
};
docker = {
enable = true;
enableNvidia = true;
};
};
services.minidlna = {
@ -94,8 +99,6 @@
hardware.ckb-next.enable = true;
environment.systemPackages = with pkgs; [
ckb-next
openrgb
wl-clipboard
wl-clipboard-x11
xclip
@ -104,13 +107,13 @@
networking.hostName = "quiver"; # Define your hostname.
users.users.bolt = {
isNormalUser = true;
extraGroups = ["wheel"]; # Enable sudo for the user.
extraGroups = ["wheel" "podman" "docker"]; # Enable sudo for the user.
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/d227445f-6120-4768-8e1b-011f097505c1";
fsType = "ext4";
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b993b463-c131-4ef1-9aba-0e3eadaa2f9a";
fsType = "btrfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6B75-AF9F";
@ -123,6 +126,11 @@
options = ["rw" "uid=1000" "gid=100"];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/9c006925-e0e9-4165-bc0c-508ae2d1bfce"; }
];
networking.nftables.enable = true;
networking.firewall = {
allowedUDPPorts = [1900];