system: add dedsec grub theme

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-01 11:17:54 +03:00
parent ad7bcc3df2
commit 5d33602546
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
5 changed files with 38 additions and 3 deletions

View file

@ -1,5 +1,26 @@
{ {
"nodes": { "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": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -40,6 +61,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"dedsec-grub-theme": "dedsec-grub-theme",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }

View file

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

View file

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

View file

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

View file

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