🔧 (home) use catppuccin's flake
This commit is contained in:
parent
9f2d65a9e3
commit
58bfea62c2
83
flake.lock
83
flake.lock
|
@ -79,83 +79,18 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"catppuccin-alacritty": {
|
||||
"flake": false,
|
||||
"catppuccin": {
|
||||
"locked": {
|
||||
"lastModified": 1712663324,
|
||||
"narHash": "sha256-Pi1Hicv3wPALGgqurdTzXEzJNx7vVh+8B9tlqhRpR2Y=",
|
||||
"lastModified": 1718339789,
|
||||
"narHash": "sha256-Q3fgY7huFE+uaw7BNsAl1x+FvjDAi3EDWPnlALJt5pM=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "alacritty",
|
||||
"rev": "94800165c13998b600a9da9d29c330de9f28618e",
|
||||
"repo": "nix",
|
||||
"rev": "73e06d5bd7ed34bdd0168030893ef8364fdc1d4a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "alacritty",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"catppuccin-bat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1714038927,
|
||||
"narHash": "sha256-Q5B4NDrfCIK3UAMs94vdXnR42k4AXCqZz6sRn8bzmf4=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "bat",
|
||||
"rev": "d714cc1d358ea51bfc02550dabab693f70cccea0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "bat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"catppuccin-btop": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1715687124,
|
||||
"narHash": "sha256-UXeTypc15MhjgGUiCrDUZ40m32yH2o1N+rcrEgY6sME=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "btop",
|
||||
"rev": "21b8d5956a8b07fa52519e3267fb3a2d2e693d17",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "btop",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"catppuccin-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1715687686,
|
||||
"narHash": "sha256-shQxlyoauXJACoZWtRUbRMxmm10R8vOigXwjxBhG8ng=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "fish",
|
||||
"rev": "a3b9eb5eaf2171ba1359fe98f20d226c016568cf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "fish",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"catppuccin-mako": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1691845483,
|
||||
"narHash": "sha256-nUzWkQVsIH4rrCFSP87mXAka6P+Td2ifNbTuP7NM/SQ=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "mako",
|
||||
"rev": "9dd088aa5f4529a3dd4d9760415e340664cb86df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "mako",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
@ -939,11 +874,7 @@
|
|||
"TP-calcul-parallele": "TP-calcul-parallele",
|
||||
"TP-reinforcement-learning": "TP-reinforcement-learning",
|
||||
"agenix": "agenix",
|
||||
"catppuccin-alacritty": "catppuccin-alacritty",
|
||||
"catppuccin-bat": "catppuccin-bat",
|
||||
"catppuccin-btop": "catppuccin-btop",
|
||||
"catppuccin-fish": "catppuccin-fish",
|
||||
"catppuccin-mako": "catppuccin-mako",
|
||||
"catppuccin": "catppuccin",
|
||||
"disko": "disko",
|
||||
"flake-parts": "flake-parts",
|
||||
"home-manager": "home-manager",
|
||||
|
|
23
flake.nix
23
flake.nix
|
@ -59,30 +59,13 @@
|
|||
url = "github:nix-community/impermanence";
|
||||
};
|
||||
|
||||
# home assets
|
||||
# home stuff
|
||||
wallpaper = {
|
||||
url = "https://images.unsplash.com/photo-1482686115713-0fbcaced6e28";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-alacritty = {
|
||||
url = "github:catppuccin/alacritty";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-bat = {
|
||||
url = "github:catppuccin/bat";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-btop = {
|
||||
url = "github:catppuccin/btop";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-mako = {
|
||||
url = "github:catppuccin/mako";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-fish = {
|
||||
url = "github:catppuccin/fish";
|
||||
flake = false;
|
||||
catppuccin = {
|
||||
url = "github:catppuccin/nix";
|
||||
};
|
||||
|
||||
# cesium nginx sites
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{inputs, ...}: {
|
||||
{...}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
import = ["${inputs.catppuccin-alacritty}/catppuccin-mocha.toml"];
|
||||
window.opacity = 0.85;
|
||||
font = {
|
||||
normal.family = "FiraCode Nerd Font Mono";
|
||||
|
|
7
home/catppuccin/default.nix
Normal file
7
home/catppuccin/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{...}: {
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
accent = "blue";
|
||||
};
|
||||
}
|
|
@ -1,9 +1,12 @@
|
|||
{inputs, ...}: {
|
||||
config.home.stateVersion = "23.05";
|
||||
config.home.stateVersion = "24.05";
|
||||
|
||||
imports = [
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
|
||||
./packages.nix
|
||||
./catppuccin
|
||||
|
||||
./alacritty
|
||||
./firefox
|
||||
|
|
|
@ -8,30 +8,11 @@
|
|||
size = 10;
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.catppuccin-papirus-folders.override {
|
||||
flavor = "mocha";
|
||||
accent = "blue";
|
||||
};
|
||||
};
|
||||
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Compact-Blue-Dark";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
tweaks = ["rimless" "normal"];
|
||||
accents = ["blue"];
|
||||
variant = "mocha";
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
size = "compact";
|
||||
tweaks = ["rimless" "normal"];
|
||||
cursor.accent = "dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.pointerCursor = {
|
||||
name = "Catppuccin-Mocha-Dark-Cursors";
|
||||
package = pkgs.catppuccin-cursors.mochaDark;
|
||||
size = 20;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,18 +1,6 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
|
||||
themes = {
|
||||
catppuccin = {
|
||||
src = inputs.catppuccin-bat;
|
||||
file = "Catppuccin-mocha.tmTheme";
|
||||
};
|
||||
};
|
||||
config.theme = "catppuccin";
|
||||
extraPackages = with pkgs.bat-extras; [batman];
|
||||
};
|
||||
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
{inputs, ...}: {
|
||||
xdg.configFile."btop/themes".source = "${inputs.catppuccin-btop}/themes";
|
||||
|
||||
{...}: {
|
||||
programs.btop = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
theme_background = false;
|
||||
color_theme = "catppuccin_mocha";
|
||||
clock_format = "%Y-%m-%d %X";
|
||||
};
|
||||
};
|
||||
|
||||
programs.fish.shellAliases.htop = "btop";
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{inputs, ...}: {
|
||||
xdg.configFile."fish/themes".source = "${inputs.catppuccin-fish}/themes";
|
||||
|
||||
{...}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
"window.menuBarVisibility" = "toggle";
|
||||
"window.zoomLevel" = -0.75;
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.editor.empty.hint" = "hidden";
|
||||
"workbench.iconTheme" = "catppuccin-mocha";
|
||||
"workbench.editor.empty.hint" = "hidden";
|
||||
"gitlens.telemetry.enabled" = false;
|
||||
"telemetry.telemetryLevel" = "off";
|
||||
"editor.inlineSuggest.enabled" = true;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{inputs, ...}: {
|
||||
{...}: {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
defaultTimeout = 5000;
|
||||
extraConfig = builtins.readFile "${inputs.catppuccin-mako}/src/mocha";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
catppuccin.enable = false;
|
||||
|
||||
settings = {
|
||||
image = "${inputs.wallpaper}";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
imports = [
|
||||
./audio
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.05"; # Did you read the comment?
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
imports = [
|
||||
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/scan/not-detected.nix
|
||||
|
|
|
@ -41,6 +41,7 @@ in {
|
|||
};
|
||||
modules = [
|
||||
./aurum
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
# inputs.disko.nixosModules.default
|
||||
# inputs.lanzaboote.nixosModules.lanzaboote
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
imports = [
|
||||
./adb
|
||||
|
|
Loading…
Reference in a new issue