fixup repo and reorder stuff
This commit is contained in:
parent
ec66697d14
commit
ba5adf39f4
4 changed files with 10 additions and 20 deletions
|
|
@ -21,12 +21,14 @@
|
||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
flake-parts.lib.mkFlake { inherit inputs; } (
|
flake-parts.lib.mkFlake { inherit inputs; } (
|
||||||
{ config, pkgs, ... }: {
|
let
|
||||||
systems = [ "x86_64-linux" ];
|
theme = "catppuccin-mocha";
|
||||||
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
wrappers.flakeModules.wrappers
|
wrappers.flakeModules.wrappers
|
||||||
./modules/theme.nix
|
./modules/theme.nix
|
||||||
./hosts.nix
|
(import ./hosts.nix { themeName = theme; })
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
{ inputs, config, ... }:
|
{themeName}: { inputs, config, self, ... }:
|
||||||
let
|
|
||||||
themeName = "catppuccin-mocha";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,9 @@
|
||||||
networking.hostName = "nerv"; # Define your hostname.
|
networking.hostName = "nerv"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# enable flakes
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# use proprietary nvidia drivers
|
# use proprietary nvidia drivers
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
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