Compare commits
2 commits
59e99a54a7
...
a9c90d8aa3
Author | SHA1 | Date | |
---|---|---|---|
a9c90d8aa3 | |||
6cbbb61e26 |
3 changed files with 29 additions and 11 deletions
|
@ -30,7 +30,7 @@
|
|||
];
|
||||
|
||||
outputs-builder = channels: {
|
||||
formatter = channels.nixpkgs.nixfmt-rfc-style;
|
||||
formatter = channels.nixpkgs.alejandra;
|
||||
};
|
||||
|
||||
alias = {
|
||||
|
|
|
@ -16,7 +16,7 @@ in
|
|||
|
||||
# FIXME: Remove this once nvim is set up
|
||||
home.packages = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
alejandra
|
||||
nil
|
||||
statix
|
||||
manix
|
||||
|
|
|
@ -4,16 +4,34 @@
|
|||
nix = {
|
||||
package = pkgs.lix;
|
||||
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"root"
|
||||
config.marleyos.my.name
|
||||
];
|
||||
|
||||
# Enable flakes.
|
||||
settings.experimental-features = [
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"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.
|
||||
extraOptions = ''
|
||||
warn-dirty = false
|
||||
'';
|
||||
warn-dirty = false;
|
||||
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
||||
# Garbage collection.
|
||||
gc.automatic = true;
|
||||
|
|
Loading…
Reference in a new issue