wip
This commit is contained in:
parent
451714ad09
commit
f993f9fa73
3 changed files with 65 additions and 3 deletions
19
common/boot/grub.nix
Normal file
19
common/boot/grub.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.mods.boot_grub = {
|
||||
device = mkOption {
|
||||
type = types.str;
|
||||
default = "/dev/sda";
|
||||
description = ''
|
||||
The device to install GRUB on.
|
||||
'';
|
||||
};
|
||||
};
|
||||
config = {
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = config.mods.boot_grub.device;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
inputs = {
|
||||
home-manager.url = "github:rycee/home-manager/release-24.11";
|
||||
ragenix.url = "github:yaxitech/ragenix";
|
||||
|
||||
ros_neovim.url = "git+https://git.joshuabell.xyz/nvim";
|
||||
ringofstorms-stormd.url = "git+ssh://git.joshuabell.xyz:3032/stormd";
|
||||
# ros_neovim.url = "path:/home/josh/projects/stormd";
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
ros-neovim,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixosModules = {
|
||||
default =
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
config_key = "ringofstorms_common";
|
||||
in
|
||||
{
|
||||
config = { };
|
||||
|
||||
imports = [
|
||||
|
||||
./boot/grub.nix
|
||||
];
|
||||
|
||||
options = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue