Skip to content

Commit

Permalink
Fixed bug w/ lanzaboote
Browse files Browse the repository at this point in the history
Added gparted to packages
  • Loading branch information
jwyuen committed Jul 8, 2024
1 parent e1876b4 commit 616e548
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 17 deletions.
229 changes: 219 additions & 10 deletions flake.lock

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

8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1";
# Optional but recommended to limit the size of your system closure.
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = inputs@{ nixpkgs, home-manager, ... }:
outputs = inputs@{ nixpkgs, home-manager, lanzaboote, ... }:
let
system = "x86_64-linux";
host = "nix-deskstar";
Expand All @@ -39,6 +44,7 @@
};
modules = [
./system.nix
lanzaboote.nixosModules.lanzaboote
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit username;
Expand Down
10 changes: 5 additions & 5 deletions nix-config/hosts/nix-lappy/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@

boot.initrd.luks.devices."luks-280f3096-4ae3-493e-ad61-f7523cb0b574".device = "/dev/disk/by-uuid/280f3096-4ae3-493e-ad61-f7523cb0b574";

fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AF84-0B7A";
fsType = "vfat";
};

fileSystems."/home" =
{ device = "/dev/disk/by-uuid/f9ca8e28-eaae-4016-bf38-1bab9e36a54e";
fsType = "ext4";
};

boot.initrd.luks.devices."luks-7d861ea1-85e9-4642-9f67-bc4d5d1a751b".device = "/dev/disk/by-uuid/7d861ea1-85e9-4642-9f67-bc4d5d1a751b";

fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AF84-0B7A";
fsType = "vfat";
};

swapDevices = [ ];

# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
Expand Down
2 changes: 1 addition & 1 deletion nix-config/system/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
xorg.xprop xorg.xkill xorg.xdpyinfo xorg.xsetroot xorg.xwininfo xorg.xrandr
# misc helpful utilities
lsd wget curl git unzip unrar virt-viewer ripgrep
fastfetch htop btop stow brightnessctl
fastfetch htop btop stow brightnessctl gparted
# other
polkit_gnome
# secure boot
Expand Down

0 comments on commit 616e548

Please sign in to comment.