Still GTK looks
This commit is contained in:
+57
-55
@@ -15,6 +15,7 @@
|
|||||||
url = "github:catppuccin/nix";
|
url = "github:catppuccin/nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
url = "github:youwen5/zen-browser-flake";
|
url = "github:youwen5/zen-browser-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@@ -22,62 +23,63 @@
|
|||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{
|
inputs@{
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
emacs-overlay,
|
emacs-overlay,
|
||||||
catppuccin,
|
catppuccin,
|
||||||
zen-browser,
|
zen-browser,
|
||||||
hyprland,
|
hyprland,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
user = import ./generated/out_of_tree/users/henrov.nix;
|
user = import ./generated/out_of_tree/users/henrov.nix;
|
||||||
machines = [
|
machines = [
|
||||||
"traveldroid"
|
"traveldroid"
|
||||||
"maindroid"
|
"maindroid"
|
||||||
];
|
];
|
||||||
flakeRoot = ./.; # Define flakeRoot here
|
flakeRoot = ./.; # Define flakeRoot here
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = lib.genAttrs machines (
|
nixosConfigurations = lib.genAttrs machines (
|
||||||
machine:
|
machine:
|
||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
# Import machine-specific configurations
|
# Import machine-specific configurations
|
||||||
./generated/out_of_tree/machines/traveldroid/top.nix
|
./generated/out_of_tree/machines/traveldroid/top.nix
|
||||||
# Catppuccin theme module
|
# Catppuccin theme module
|
||||||
inputs.catppuccin.nixosModules.catppuccin
|
inputs.catppuccin.nixosModules.default
|
||||||
# Anchoring all the other nixes
|
|
||||||
./generated/top.nix
|
|
||||||
# Home Manager module
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
|
||||||
{
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; };
|
|
||||||
}
|
|
||||||
];
|
|
||||||
specialArgs = { inherit user inputs flakeRoot; };
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
homeConfigurations = lib.genAttrs (map (machine: "${user.username}@${machine}") machines) (
|
# Anchoring all the other nixes
|
||||||
userMachine:
|
./generated/top.nix
|
||||||
home-manager.lib.homeManagerConfiguration {
|
# Home Manager module
|
||||||
inherit system;
|
inputs.home-manager.nixosModules.home-manager
|
||||||
configuration = import ./user.nix { inherit inputs user flakeRoot; };
|
{
|
||||||
extraSpecialArgs = { inherit user inputs flakeRoot; };
|
home-manager.useGlobalPkgs = true;
|
||||||
}
|
home-manager.useUserPackages = true;
|
||||||
);
|
home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; };
|
||||||
|
}
|
||||||
|
];
|
||||||
|
specialArgs = { inherit user inputs flakeRoot; };
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
devShells.${system}.default = import ./generated/out_of_tree/terminal_shell/devshell.nix {
|
homeConfigurations = lib.genAttrs (map (machine: "${user.username}@${machine}") machines) (
|
||||||
inherit (nixpkgs.legacyPackages.${system}) mkShell;
|
userMachine:
|
||||||
|
home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit system;
|
||||||
|
configuration = import ./user.nix { inherit inputs user flakeRoot; };
|
||||||
|
extraSpecialArgs = { inherit user inputs flakeRoot; };
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
devShells.${system}.default = import ./generated/out_of_tree/terminal_shell/devshell.nix {
|
||||||
|
inherit (nixpkgs.legacyPackages.${system}) mkShell;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,28 +1,14 @@
|
|||||||
{
|
{ pkgs, inputs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
environment.systemPackages = with pkgs; [
|
||||||
inputs.catppuccin.nixosModules.catppuccin
|
inputs.catppuccin.gtk.mocha.standard
|
||||||
|
papirus-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
catppuccin = {
|
|
||||||
enable = true;
|
|
||||||
flavor = "mocha";
|
|
||||||
gtk = {
|
|
||||||
enable = true;
|
|
||||||
variant = "standard";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||||
GTK_ICON_THEME = "Papirus-Dark";
|
GTK_ICON_THEME = "Papirus-Dark";
|
||||||
GTK_ENABLE_DARK_MODE = "1";
|
GTK_ENABLE_DARK_MODE = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user