Skip to content

Commit fac3987

Browse files
feat: reorganize system ricing
1 parent 60ca4dd commit fac3987

File tree

5 files changed

+41
-60
lines changed

5 files changed

+41
-60
lines changed

flake.lock

Lines changed: 3 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# Catppuccin theme for VSCodium
3939
# https://github.com/catppuccin/vscode
40-
catppuccin-vsc.url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz";
40+
#catppuccin-vsc.url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz";
4141

4242
nixvim = {
4343
url = "github:nix-community/nixvim";
@@ -75,7 +75,7 @@
7575
home-manager,
7676
stylix,
7777
catppuccin,
78-
catppuccin-vsc,
78+
# catppuccin-vsc,
7979
flatpaks,
8080
nixvim,
8181
lanzaboote,
@@ -85,11 +85,11 @@
8585
system = "x86_64-linux";
8686
username = "artur";
8787
lib = nixpkgs.lib;
88-
overlays = [
89-
catppuccin-vsc.overlays.default
90-
];
88+
# overlays = [
89+
# catppuccin-vsc.overlays.default
90+
# ];
9191
pkgs = import nixpkgs {
92-
inherit system overlays;
92+
inherit system;
9393
config.allowUnfreePredicate =
9494
pkg:
9595
builtins.elem (nixpkgs.lib.getName pkg) [
@@ -104,7 +104,7 @@
104104
];
105105
};
106106
pkgs-stable = import nixpkgs-stable {
107-
inherit system overlays;
107+
inherit system;
108108
config = {
109109
allowUnfree = true;
110110
};
@@ -158,6 +158,7 @@
158158
# so that home-manager configuration will be deployed automatically when executing `nixos-rebuild switch`
159159
home-manager.nixosModules.home-manager
160160
stylix.nixosModules.stylix
161+
catppuccin.nixosModules.catppuccin
161162
{
162163
home-manager.useGlobalPkgs = true;
163164
home-manager.useUserPackages = true;
@@ -195,7 +196,7 @@
195196
flake-inputs = inputs;
196197
inherit username;
197198
inherit pkgs-stable;
198-
inherit overlays;
199+
# inherit overlays;
199200
};
200201
modules = [
201202
./hosts/ty/home.nix

hosts/desktop/configuration.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{
66
username,
77
pkgs,
8+
lib,
89
...
910
}:
1011
{
@@ -50,6 +51,7 @@
5051
efiSupport = true;
5152
devices = [ "nodev" ];
5253
useOSProber = true;
54+
splashImage = lib.mkForce null;
5355
extraEntries = ''
5456
menuentry "Fedora Bazzite" {
5557
insmod part_gpt
@@ -210,6 +212,10 @@
210212
};
211213
};
212214

215+
catppuccin = {
216+
enable = true;
217+
flavor = "mocha";
218+
};
213219
# This option defines the first version of NixOS you have installed on this particular machine,
214220
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
215221
#

modules/home-manager/gui/vscodium.nix

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,24 @@
3636
quarto.quarto
3737
])
3838
++ (with flake-inputs.nix-vscode-extensions.extensions.${pkgs.system}.open-vsx; [
39+
catppuccin.catppuccin-vsc
3940
jeanp413.open-remote-ssh
4041
hashicorp.terraform
4142
posit.air-vscode
42-
])
43-
++ [
44-
(pkgs.catppuccin-vsc.override {
45-
accent = "blue";
46-
boldKeywords = true;
47-
italicComments = false;
48-
italicKeywords = false;
49-
extraBordersEnabled = false;
50-
workbenchMode = "default";
51-
bracketMode = "rainbow";
52-
colorOverrides = { };
53-
customUIColors = { };
54-
})
55-
];
43+
]);
44+
# ++ [
45+
# (pkgs.catppuccin-vsc.override {
46+
# accent = "blue";
47+
# boldKeywords = true;
48+
# italicComments = false;
49+
# italicKeywords = false;
50+
# extraBordersEnabled = false;
51+
# workbenchMode = "default";
52+
# bracketMode = "rainbow";
53+
# colorOverrides = { };
54+
# customUIColors = { };
55+
# })
56+
# ];
5657
keybindings = [
5758
# Insert assignment operator if code is R
5859
{
@@ -109,9 +110,15 @@
109110
"files.trimTrailingWhitespace" = true;
110111
# Disable RedHat telemetry
111112
"redhat.telemetry.enabled" = false;
113+
112114
# Apply Catppuccin theme
113-
"workbench.colorTheme" = "Catppuccin Mocha";
115+
"workbench.colorTheme" = "Catppuccin Macchiato";
114116
"workbench.iconTheme" = "catppuccin-macchiato";
117+
# "catppuccin.accentColor" = "blue";
118+
# "catppuccin.boldKeywords" = true;
119+
"bracketMode" = "rainbow";
120+
"italicComments" = false;
121+
"italicKeywords" = false;
115122

116123
"window.newWindowDimensions" = "maximized";
117124

modules/system/stylix.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{
55
stylix = {
66
enable = true;
7+
targets.grub.enable = false; # Disable because it conflicts with catppuccin (?)
78
image = ./scarlet_tree.png;
89
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
910
cursor = {

0 commit comments

Comments
 (0)