Compare commits

..

2 Commits

Author SHA1 Message Date
c75db3b717
🧑‍💻 Zed configs, Nextcloud as service, moved dev stuff 2025-01-11 21:00:27 +01:00
99c1d855ab
🖌️ Catppuccin on GTK apps 2025-01-11 12:46:23 +01:00
13 changed files with 86 additions and 19 deletions

View File

@ -46,7 +46,6 @@ in
stremio stremio
fastfetch fastfetch
freetube freetube
nextcloud-client
discord discord
nix-prefetch-github # Cmd to get rev and hash from GitHub nix-prefetch-github # Cmd to get rev and hash from GitHub
gimp gimp

34
flake.lock generated
View File

@ -116,9 +116,7 @@
"catppuccin-v1_2": "catppuccin-v1_2", "catppuccin-v1_2": "catppuccin-v1_2",
"home-manager": "home-manager", "home-manager": "home-manager",
"home-manager-stable": "home-manager-stable", "home-manager-stable": "home-manager-stable",
"nixpkgs": [ "nixpkgs": "nixpkgs",
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"nuscht-search": "nuscht-search" "nuscht-search": "nuscht-search"
}, },
@ -666,16 +664,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1736200483, "lastModified": 1736344531,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=", "narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"owner": "nixos", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751", "rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -712,6 +710,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"devshell": "devshell", "devshell": "devshell",
@ -791,7 +805,7 @@
"catppuccin": "catppuccin", "catppuccin": "catppuccin",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hyprpanel": "hyprpanel", "hyprpanel": "hyprpanel",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim", "nixvim": "nixvim",
"spicetify-nix": "spicetify-nix", "spicetify-nix": "spicetify-nix",

View File

@ -7,7 +7,6 @@
catppuccin = { catppuccin = {
url = "github:catppuccin/nix"; url = "github:catppuccin/nix";
inputs.nixpkgs.follows = "nixpkgs";
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.11"; url = "github:nix-community/home-manager/release-24.11";

View File

@ -14,10 +14,11 @@ in
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
./cava.nix ./cava.nix
./default-applications.nix ./default-applications.nix
./development
./fish.nix ./fish.nix
./git.nix ./gtk.nix
./mpv.nix ./mpv.nix
./nixvim ./nextcloud.nix
./rofi ./rofi
./wlogout ./wlogout
./hyprland ./hyprland
@ -25,8 +26,6 @@ in
./yazi ./yazi
]; ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home = { home = {
username = username; username = username;
homeDirectory = dir.home; homeDirectory = dir.home;

View File

@ -0,0 +1,7 @@
{
imports = [
./git.nix
./nixvim
./zed.nix
];
}

View File

@ -0,0 +1,32 @@
{
programs.zed-editor = {
enable = true;
extensions = [
"html"
"catppuccin"
"toml"
"nix"
"git_firefly"
];
userSettings =
let
theme = import ../../theme.nix;
font = "${theme.nerdFont} Nerd Font";
fontSize = 14;
in
{
autosave = "on_focus_change";
base_keymap = "JetBrains";
ui_font_family = font;
buffer_font_family = font;
ui_font_size = fontSize;
buffer_font_size = fontSize;
theme = {
mode = "system";
light = "Catppuccin Frappé";
dark = "Catppuccin Mocha";
};
lsp.nil.initialization_options.formatting.command = [ "nixfmt" ];
};
};
}

13
home-manager/gtk.nix Normal file
View File

@ -0,0 +1,13 @@
let
theme = import ../theme.nix;
in
{
gtk.enable = true;
catppuccin.gtk = {
enable = true;
flavor = theme.flavor;
icon.enable = true;
};
stylix.targets.gtk.enable = false;
}

View File

@ -14,7 +14,6 @@ in
# Autostart # Autostart
exec-once = [ exec-once = [
"${app.browser}" "${app.browser}"
"nextcloud"
"${app.terminal}" "${app.terminal}"
"hypridle" "hypridle"
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"

View File

@ -0,0 +1,6 @@
{
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
}

View File

@ -6,7 +6,6 @@
jetbrains.rust-rover jetbrains.rust-rover
jetbrains.webstorm jetbrains.webstorm
vscodium # TODO set up extensions vscodium # TODO set up extensions
zed-editor
# Tools # Tools
git git
rustup rustup

View File

@ -6,7 +6,7 @@
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
adw-gtk3 # adw-gtk3
glib glib
adwaita-icon-theme adwaita-icon-theme
gnomeExtensions.appindicator gnomeExtensions.appindicator