linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -1,13 +1,15 @@
{
inputs,
outputs,
self,
lib,
pkgs,
mainUser,
...
}: let
}:
let
getFlakePackage = package: inputs."${package}".packages.x86_64-linux.default;
in {
in
{
# these settings propagate to home-manager's nixpkgs
nixpkgs = {
overlays = [
@ -16,14 +18,12 @@ in {
inputs.nil.overlays.nil
# inputs.nixd.overlays.default
inputs.niri.overlays.niri
# outputs.overlays.additions
outputs.overlays.rice
outputs.overlays.murex
outputs.overlays.murex-starship
outputs.overlays.murex-jump
outputs.overlays.comfyui
outputs.overlays.comfyui-plugins
# outputs.overlays.sirula
self.overlays.rice
self.overlays.murex
self.overlays.murex-starship
self.overlays.murex-jump
self.overlays.comfyui
self.overlays.comfyui-plugins
];
config = {
allowUnfree = true;
@ -34,10 +34,14 @@ in {
nix = {
# add flake inputs to our registry to allow global use
registry = lib.mapAttrs (_: value: {flake = value;}) inputs;
registry = lib.mapAttrs (_: value: { flake = value; }) inputs;
settings = {
# trusted-users = ["bolt" "plank"];
experimental-features = ["nix-command" "flakes" "pipe-operator"];
experimental-features = [
"nix-command"
"flakes"
"pipe-operator"
];
substitute = true;
};
extraOptions = ''
@ -106,12 +110,12 @@ in {
# services.tailscale.enable = true;
# TODO - move these to more appropriate places
environment.systemPackages = with pkgs; [
curl
eza
git
jujutsu
nil
];
# services.atuin.enable = true;
@ -136,5 +140,5 @@ in {
systemd.user.extraConfig = "LogLevel=debug";
security.pam.services.swaylock = {};
system.nixos.tags = [ "fatcock" ];
}