From 813d896b61a66ad7207915f24545d4d3b8efa59b Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 27 Jul 2024 11:50:31 +0200 Subject: [PATCH] tadpole: Add `boot` module --- hosts/tadpole/configuration.nix | 9 --------- hosts/tadpole/modules/boot/default.nix | 11 +++++++++++ 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 hosts/tadpole/modules/boot/default.nix diff --git a/hosts/tadpole/configuration.nix b/hosts/tadpole/configuration.nix index bd5c06d..c8a4ee4 100644 --- a/hosts/tadpole/configuration.nix +++ b/hosts/tadpole/configuration.nix @@ -11,15 +11,6 @@ nixpkgs.config.allowUnfree = true; - boot = { - loader = { - grub = { - enable = true; - device = "/dev/sda"; - }; - }; - }; - users.users.alex = { isNormalUser = true; extraGroups = [ "wheel" ]; diff --git a/hosts/tadpole/modules/boot/default.nix b/hosts/tadpole/modules/boot/default.nix new file mode 100644 index 0000000..a179761 --- /dev/null +++ b/hosts/tadpole/modules/boot/default.nix @@ -0,0 +1,11 @@ +{ ... }: +{ + boot = { + loader = { + grub = { + enable = true; + device = "/dev/sda"; + }; + }; + }; +}