Compare commits

..

No commits in common. "a9c90d8aa38fe2ce2d9b6b2ad0e05ac0f68bd8e7" and "59e99a54a7288fbfd729d39ddccf7e1e6e41b4d5" have entirely different histories.

3 changed files with 11 additions and 29 deletions

View file

@ -30,7 +30,7 @@
]; ];
outputs-builder = channels: { outputs-builder = channels: {
formatter = channels.nixpkgs.alejandra; formatter = channels.nixpkgs.nixfmt-rfc-style;
}; };
alias = { alias = {

View file

@ -16,7 +16,7 @@ in
# FIXME: Remove this once nvim is set up # FIXME: Remove this once nvim is set up
home.packages = with pkgs; [ home.packages = with pkgs; [
alejandra nixfmt-rfc-style
nil nil
statix statix
manix manix

View file

@ -4,34 +4,16 @@
nix = { nix = {
package = pkgs.lix; package = pkgs.lix;
settings = { # Enable flakes.
trusted-users = [ settings.experimental-features = [
"root" "nix-command"
config.marleyos.my.name "flakes"
]; ];
# Enable flakes. # Disable that annoying "git tree is dirty" warning.
experimental-features = [ extraOptions = ''
"nix-command" warn-dirty = false
"flakes" '';
];
# Set up caches.
extra-substituters = [
"https://marleyos.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"marleyos.cachix.org-1:q2kEtqvS5CoQ8BmKlWOfOnN+fi4gUoSuL6HRKy37eCA="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
# Disable that annoying "git tree is dirty" warning.
warn-dirty = false;
auto-optimise-store = true;
};
# Garbage collection. # Garbage collection.
gc.automatic = true; gc.automatic = true;