fixup repo and reorder stuff

This commit is contained in:
lucy 2026-08-31 15:06:10 +02:00
commit ba5adf39f4
4 changed files with 10 additions and 20 deletions

View file

@ -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; })
];
}
);
}

View file

@ -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; };

View file

@ -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" ];

View file

@ -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";
}