system: add dedsec grub theme
This commit is contained in:
parent
ad7bcc3df2
commit
5d33602546
5 changed files with 38 additions and 3 deletions
22
flake.lock
22
flake.lock
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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} =
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, system }:
|
||||
{ inputs, system, ... }:
|
||||
|
||||
with inputs;
|
||||
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -15,6 +15,12 @@ in
|
|||
enable = true;
|
||||
version = 2;
|
||||
device = "/dev/sda";
|
||||
|
||||
dedsec-theme = {
|
||||
enable = true;
|
||||
style = "sitedown";
|
||||
resolution = "1440p";
|
||||
};
|
||||
};
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
|
Loading…
Reference in a new issue