Compare commits
No commits in common. "bfc1bb2da9be6bcb2c44892914cb309d17e37550" and "7e812001f084783323aad1998b5c42ad12f1e8be" have entirely different histories.
bfc1bb2da9
...
7e812001f0
15
Makefile
15
Makefile
@ -1,15 +0,0 @@
|
|||||||
# Lockfile utils
|
|
||||||
update-lockfile:
|
|
||||||
nix flake update --commit-lock-file
|
|
||||||
update-lockfile-without-commit:
|
|
||||||
nix flake update
|
|
||||||
|
|
||||||
# Agenix utils
|
|
||||||
edit-secret:
|
|
||||||
cd secrets && agenix -e $(filter-out $@,$(MAKECMDGOALS))
|
|
||||||
rekey-secrets:
|
|
||||||
cd secrets && agenix -r
|
|
||||||
|
|
||||||
# NixOS utils
|
|
||||||
clean-old-nixos-profiles:
|
|
||||||
doas nix-collect-garbage -d
|
|
@ -10,10 +10,6 @@ in
|
|||||||
device = mkOption {
|
device = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
configurationLimit = mkOption {
|
|
||||||
default = 20;
|
|
||||||
type = types.int;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@ -23,7 +19,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
device = cfg.device;
|
device = cfg.device;
|
||||||
useOSProber = true;
|
useOSProber = true;
|
||||||
configurationLimit = cfg.configurationLimit;
|
configurationLimit = 20;
|
||||||
theme = pkgs.nixos-grub2-theme;
|
theme = pkgs.nixos-grub2-theme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -7,10 +7,6 @@ in
|
|||||||
{
|
{
|
||||||
options.efi = {
|
options.efi = {
|
||||||
enable = mkEnableOption "enable efi boot";
|
enable = mkEnableOption "enable efi boot";
|
||||||
configurationLimit = mkOption {
|
|
||||||
default = 20;
|
|
||||||
type = types.int;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@ -23,7 +19,7 @@ in
|
|||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
useOSProber = true;
|
useOSProber = true;
|
||||||
# memtest86.enable = true;
|
# memtest86.enable = true;
|
||||||
configurationLimit = cfg.configurationLimit;
|
configurationLimit = 20;
|
||||||
theme = pkgs.nixos-grub2-theme;
|
theme = pkgs.nixos-grub2-theme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -61,7 +61,6 @@
|
|||||||
lm_sensors
|
lm_sensors
|
||||||
picocom
|
picocom
|
||||||
lf
|
lf
|
||||||
gnumake
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
4
lockfile-update.sh
Executable file
4
lockfile-update.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash -p bash
|
||||||
|
|
||||||
|
nix flake update --commit-lock-file
|
@ -16,7 +16,6 @@
|
|||||||
bios = {
|
bios = {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = "/dev/sda";
|
device = "/dev/sda";
|
||||||
configurationLimit = 3; # Save room in /nix/store
|
|
||||||
};
|
};
|
||||||
|
|
||||||
remoteLuksUnlock.enable = true;
|
remoteLuksUnlock.enable = true;
|
||||||
|
5
secrets/rekey.sh
Executable file
5
secrets/rekey.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
agenix -r
|
||||||
|
git commit . -m "Rekey secrets"
|
Loading…
x
Reference in New Issue
Block a user