changed all themes to catpuccin and added spicetify
This commit is contained in:
parent
4cc19c89d4
commit
23107cadc7
|
@ -10,6 +10,8 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
{pkgs, config, ... }:
|
|
||||||
{
|
|
||||||
xsession.windowManager.i3.config = {
|
|
||||||
colors = with config.colorScheme.colors; {
|
|
||||||
background = "#${base00}";
|
|
||||||
focused = {
|
|
||||||
background = "#${base09}";
|
|
||||||
border = "#${base09}";
|
|
||||||
childBorder = "#${base09}";
|
|
||||||
indicator = "#${base09}";
|
|
||||||
text = "#${base08}";
|
|
||||||
};
|
|
||||||
focusedInactive = {
|
|
||||||
background = "#285577";
|
|
||||||
border = "#4c7899";
|
|
||||||
childBorder = "#285577";
|
|
||||||
indicator = "#2e9ef4";
|
|
||||||
text = "#ffffff";
|
|
||||||
};
|
|
||||||
unfocused = {
|
|
||||||
background = "#285577";
|
|
||||||
border = "#4c7899";
|
|
||||||
childBorder = "#285577";
|
|
||||||
indicator = "#2e9ef4";
|
|
||||||
text = "#ffffff";
|
|
||||||
};
|
|
||||||
urgent = {
|
|
||||||
background = "#285577";
|
|
||||||
border = "#4c7899";
|
|
||||||
childBorder = "#285577";
|
|
||||||
indicator = "#2e9ef4";
|
|
||||||
text = "#ffffff";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
16
flake.lock
16
flake.lock
|
@ -16,6 +16,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"catppuccin": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1721784420,
|
||||||
|
"narHash": "sha256-bgF6fN4Qgk7NErFKGuuqWXcLORsiykTYyqMUFRiAUBY=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"rev": "8bdb55cc1c13f572b6e4307a3c0d64f1ae286a4f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -89,6 +104,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"catppuccin": "catppuccin",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nix-colors": "nix-colors",
|
"nix-colors": "nix-colors",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
|
|
17
flake.nix
17
flake.nix
|
@ -5,11 +5,11 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager/master";
|
home-manager.url = "github:nix-community/home-manager/master";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
nix-colors.url = "github:Misterio77/nix-colors";
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
|
spicetify-nix.url = "github:the-argus/spicetify-nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
outputs = { nixpkgs, home-manager, catppuccin, spicetify-nix, ... } @ inputs: let
|
||||||
let
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
@ -23,8 +23,15 @@
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
lorenz = home-manager.lib.homeManagerConfiguration {
|
lorenz = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = {
|
||||||
modules = [ ./home.nix ];
|
inherit inputs;
|
||||||
|
inherit spicetify-nix;
|
||||||
|
};
|
||||||
|
modules = [
|
||||||
|
./home.nix
|
||||||
|
./spicetify.nix
|
||||||
|
catppuccin.homeManagerModules.catppuccin
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
28
home.nix
28
home.nix
|
@ -1,12 +1,29 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
#themes
|
||||||
inputs.nix-colors.homeManagerModules.default
|
catppuccin.flavor = "macchiato";
|
||||||
./features/i3.nix
|
catppuccin.enable = true;
|
||||||
];
|
|
||||||
|
|
||||||
colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium;
|
gtk.cursorTheme.package = pkgs.bibata-cursors;
|
||||||
|
gtk.cursorTheme.name = "Bibata-Modern-Ice";
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
size = "standard";
|
||||||
|
tweaks = [ "normal" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# gtk.theme.package = pkgs.catppuccin-gtk;
|
||||||
|
# gtk.theme.name = "adw-gtk3-dark";
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme.name = "kvantum";
|
||||||
|
style.name = "kvantum";
|
||||||
|
};
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
|
@ -43,6 +60,7 @@
|
||||||
pkgs.devdocs-desktop # docs
|
pkgs.devdocs-desktop # docs
|
||||||
pkgs.spotify
|
pkgs.spotify
|
||||||
pkgs.cargo
|
pkgs.cargo
|
||||||
|
pkgs.spicetify-cli
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
# # overrides. You can do that directly here, just don't forget the
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
{ pkgs, lib, spicetify-nix, ... }:
|
||||||
|
let
|
||||||
|
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# allow spotify to be installed if you don't have unfree enabled already
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
"spotify"
|
||||||
|
];
|
||||||
|
|
||||||
|
# import the flake's module for your system
|
||||||
|
imports = [ spicetify-nix.homeManagerModule ];
|
||||||
|
|
||||||
|
# configure spicetify :)
|
||||||
|
programs.spicetify =
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
theme = spicePkgs.themes.catppuccin;
|
||||||
|
colorScheme = "mocha";
|
||||||
|
|
||||||
|
enabledExtensions = with spicePkgs.extensions; [
|
||||||
|
fullAppDisplay
|
||||||
|
shuffle # shuffle+ (special characters are sanitized out of ext names)
|
||||||
|
hidePodcasts
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue