system: add dedsec grub theme #4

Merged
pleshevskiy merged 1 commit from grub-theme into main 2022-09-02 00:13:07 +03:00
5 changed files with 38 additions and 3 deletions

View file

@ -1,5 +1,26 @@
{
"nodes": {
"dedsec-grub-theme": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1662065030,
"narHash": "sha256-EhgbM6/qM807Ht0ZnlOY0H8WS4CqbpuGREo02e2dys8=",
"owner": "pleshevskiy",
"repo": "dedsec-grub-theme",
"rev": "bdb30e5c2a984f17731e8bb174826ad062ec9d2c",
"type": "gitlab"
},
"original": {
"owner": "pleshevskiy",
"ref": "nix-flake",
"repo": "dedsec-grub-theme",
"type": "gitlab"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -40,6 +61,7 @@
},
"root": {
"inputs": {
"dedsec-grub-theme": "dedsec-grub-theme",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}

View file

@ -6,6 +6,11 @@
url = github:nix-community/home-manager/master;
inputs.nixpkgs.follows = "nixpkgs";
};
dedsec-grub-theme = {
url = gitlab:pleshevskiy/dedsec-grub-theme/nix-flake;
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ { self, nixpkgs, ... }:
@ -18,7 +23,7 @@
};
nixosConfigurations = import ./outputs/system.nix {
inherit nixpkgs system;
inherit inputs system;
};
devShells.${system} =

View file

@ -1,4 +1,4 @@
{ inputs, system }:
{ inputs, system, ... }:
with inputs;

View file

@ -1,9 +1,11 @@
{ nixpkgs, system }:
{ inputs, system, ... }:
with inputs;
{
systemHome = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
dedsec-grub-theme.nixosModule
../system/configuration.nix
../system/machine/home
];

View file

@ -15,6 +15,12 @@ in
enable = true;
version = 2;
device = "/dev/sda";
dedsec-theme = {
enable = true;
style = "sitedown";
resolution = "1440p";
};
};
kernelPackages = pkgs.linuxPackages_latest;