fixup repo and reorder stuff
This commit is contained in:
parent
ec66697d14
commit
ba5adf39f4
4 changed files with 10 additions and 20 deletions
10
flake.nix
10
flake.nix
|
|
@ -21,14 +21,16 @@
|
|||
...
|
||||
}@inputs:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } (
|
||||
{ config, pkgs, ... }: {
|
||||
systems = [ "x86_64-linux" ];
|
||||
let
|
||||
theme = "catppuccin-mocha";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
wrappers.flakeModules.wrappers
|
||||
./modules/theme.nix
|
||||
./hosts.nix
|
||||
(import ./hosts.nix { themeName = theme; })
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{ inputs, config, ... }:
|
||||
let
|
||||
themeName = "catppuccin-mocha";
|
||||
in
|
||||
{themeName}: { inputs, config, self, ... }:
|
||||
{
|
||||
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
|
|
|
|||
|
|
@ -19,6 +19,9 @@
|
|||
networking.hostName = "nerv"; # Define your hostname.
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# enable flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# use proprietary nvidia drivers
|
||||
hardware.graphics.enable = true;
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{ inputs, lib, pkgs, config, ... }: {
|
||||
options.theme.name = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml";
|
||||
example = "${inputs.tt-schemes}/base16/catppuccin-mocha.yaml";
|
||||
description = "set the used theme";
|
||||
};
|
||||
options.theme.mkSchemeAttr = lib.mkOption {
|
||||
type = lib.types.attrSet;
|
||||
};
|
||||
config.theme.name = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml";
|
||||
}
|
||||
Loading…
Reference in a new issue