cosmic checkpoint

This commit is contained in:
atagen 2024-08-14 01:01:53 +10:00
parent 4031a614a8
commit f623faa0ef
26 changed files with 1163 additions and 538 deletions

View file

@ -17,7 +17,6 @@
outputs.overlays.rice
inputs.helix.overlays.default
inputs.nixd.overlays.default
inputs.nix-ld-rs.overlays.default
];
config = {
allowUnfree = true;
@ -29,7 +28,7 @@
# add flake inputs to our registry to allow global use
registry = lib.mapAttrs (_: value: {flake = value;}) inputs;
settings = {
trusted-users = ["bolt" "plank"];
# trusted-users = ["bolt" "plank"];
experimental-features = "nix-command flakes";
substitute = true;
};
@ -37,11 +36,6 @@
keep-outputs = true
keep-derivations = true
'';
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 3d";
};
optimise.automatic = true;
package = pkgs.lix;
};
@ -64,8 +58,11 @@
services.libinput.enable = true;
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
# busted as hell
# services.usbmuxd.enable = true; # for iphone
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
services.udisks2.enable = true;
@ -82,10 +79,20 @@
curl
eza
git
# broken \/
# libimobiledevice
# ifuse
];
services.atuin.enable = true;
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 3d --keep 3";
};
programs.nix-index-database.comma.enable = true;
programs.nix-index.enableZshIntegration = false;
programs.nix-index.enableBashIntegration = false;
@ -94,13 +101,7 @@
programs.dconf.enable = true;
services.gvfs.enable = true;
programs.nix-ld = {
enable = true;
package = pkgs.nix-ld-rs;
};
# give cpuset to user
systemd.services."user@".serviceConfig.Delegate = "memory pids cpu cpuset";
system.stateVersion = "22.11"; # Did you read the comment?
systemd.user.extraConfig = "LogLevel=debug";
}