Merge branch 'refactor_to_one_branch_again'
This commit is contained in:
commit
1876bc1029
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
43
common/flake.nix
Normal file
43
common/flake.nix
Normal file
|
@ -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 = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739214665,
|
"lastModified": 1741173522,
|
||||||
"narHash": "sha256-26L8VAu3/1YRxS8MHgBOyOM8xALdo6N0I04PgorE7UM=",
|
"narHash": "sha256-k7VSqvv0r1r53nUI/IfPHCppkUAddeXn843YlAC5DR0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "64e75cd44acf21c7933d61d7721e812eac1b5a0a",
|
"rev": "d69ab0d71b22fa1ce3dbeff666e6deb4917db049",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue