Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Commit

Permalink
fix: agenix overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Oct 29, 2023
1 parent 533044a commit 3e38b03
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Read more about this in the [NixOs Paranoid Guide](https://xeiaso.net/blog/paran

## How to Install

1. Prepare a [64-bit NixOS 23.05 minimal iso image](https://channels.nixos.org/nixos-23.05/latest-nixos-minimal-x86_64-linux.iso) and burn it, then enter the live system.
1. Prepare a [64-bit NixOS 23.11 minimal iso image](https://channels.nixos.org/nixos-23.11/latest-nixos-minimal-x86_64-linux.iso) and burn it, then enter the live system.
Suppose I have divided two partitions: `/dev/nvme0n1p1` and `/dev/nvme0n1p2`
1. Format the partitions:

Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
};
};

outputs = inputs@{ self, nixpkgs, flake-parts, agenix, ... }:
outputs = inputs@{ self, nixpkgs, flake-parts, nur, agenix, ... }:
let
user = "einherjar";
in
Expand Down
6 changes: 5 additions & 1 deletion hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ in
};
};
nixpkgs = {
overlays = [ inputs.rust-overlay.overlays.default ];
overlays = [
inputs.rust-overlay.overlays.default
inputs.nur.overlay
inputs.agenix.overlays.default
];
};
}
];
Expand Down
3 changes: 1 addition & 2 deletions hosts/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
networking = {
networkmanager.enable = true;
wireguard.enable = true;
iproute2.enable = true;
stevenblack = {
enable = true;
block = [ "fakenews" ];
Expand Down Expand Up @@ -39,7 +38,7 @@
enable = true;
prunePaths = [ "/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool" ];
interval = "hourly";
locate = pkgs.mlocate;
package = pkgs.mlocate;
localuser = null;
};
openssh = { enable = false; };
Expand Down
2 changes: 1 addition & 1 deletion modules/fonts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
environment.systemPackages = with pkgs; [ twemoji-color-font ];
fonts = {
fonts = with pkgs; [
packages = with pkgs; [
noto-fonts
noto-fonts-emoji
nerdfonts
Expand Down
4 changes: 2 additions & 2 deletions modules/programs/common/dev/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, lib, pkgs, ... }:

{
home = {
Expand All @@ -23,7 +23,7 @@
# age
age-plugin-yubikey
age
inputs.agenix.packages.${system}.default
agenix

# archive
xz
Expand Down

0 comments on commit 3e38b03

Please sign in to comment.