aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2026-04-21 17:28:53 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2026-04-21 17:28:53 +0530
commit7fb93e67d0fa39e2444a18b45fbba5129dd5d6e6 (patch)
treea1deae669fcb48253accd99b0e84df8bb6449dd2
parentcef06261d0202bafea74d6ebb855cedeaf63930d (diff)
downloadodysseus-7fb93e67d0fa39e2444a18b45fbba5129dd5d6e6.zip
odysseus-7fb93e67d0fa39e2444a18b45fbba5129dd5d6e6.tar.gz
a lot of shit
an automated commit
-rw-r--r--flake.lock67
-rw-r--r--flake.nix7
-rw-r--r--home.nix10
-rw-r--r--home/editorconfig.nix2
-rw-r--r--home/wezterm.nix38
-rw-r--r--home/xdg-user-dirs.nix2
6 files changed, 117 insertions, 9 deletions
diff --git a/flake.lock b/flake.lock
index c1005e2..9845a5c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,23 @@
{
"nodes": {
+ "flake-utils": {
+ "inputs": {
+ "systems": "systems"
+ },
+ "locked": {
+ "lastModified": 1731533236,
+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -7,11 +25,11 @@
]
},
"locked": {
- "lastModified": 1776661682,
- "narHash": "sha256-X32LTSDqUdVqMy85WYdRgyt0I75wc4Lhi9j+lrCDR8w=",
+ "lastModified": 1776721614,
+ "narHash": "sha256-zGuW7C4tsScib2560yE5VV6lY/MdRs30aU9cbg3RP+U=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "4bfce11ea820df0359f73736fd59c7e8f53641a6",
+ "rev": "c555a4a34a260493be5adb795c54e013c58f2d34",
"type": "github"
},
"original": {
@@ -56,6 +74,27 @@
"type": "github"
}
},
+ "nixgl": {
+ "inputs": {
+ "flake-utils": "flake-utils",
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1762090880,
+ "narHash": "sha256-fbRQzIGPkjZa83MowjbD2ALaJf9y6KMDdJBQMKFeY/8=",
+ "owner": "nix-community",
+ "repo": "nixGL",
+ "rev": "b6105297e6f0cd041670c3e8628394d4ee247ed5",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixGL",
+ "type": "github"
+ }
+ },
"nixpkgs": {
"locked": {
"lastModified": 1776169885,
@@ -90,11 +129,11 @@
},
"nixpkgs_3": {
"locked": {
- "lastModified": 1776169885,
- "narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
+ "lastModified": 1776548001,
+ "narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
+ "rev": "b12141ef619e0a9c1c84dc8c684040326f27cdcc",
"type": "github"
},
"original": {
@@ -109,8 +148,24 @@
"home-manager": "home-manager",
"hypr-wellbeing": "hypr-wellbeing",
"luffy": "luffy",
+ "nixgl": "nixgl",
"nixpkgs": "nixpkgs_3"
}
+ },
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/flake.nix b/flake.nix
index e977944..4e8866a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,7 +2,12 @@
description = "Home Manager configuration of swarn";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
-
+
+ nixgl = {
+ url = "github:nix-community/nixGL";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
diff --git a/home.nix b/home.nix
index 16063d0..2b9ab29 100644
--- a/home.nix
+++ b/home.nix
@@ -12,11 +12,19 @@
./home/tmux.nix
./home/starship.nix
./home/ghostty.nix
+ ./home/wezterm.nix
./home/mime-apps.nix
./home/xdg-user-dirs.nix
./home/editorconfig.nix
];
+ targets.genericLinux.enable = true;
+
+ xdg = {
+ enable = true;
+ mime.enable = true;
+ };
+
home = {
username = "swarn";
homeDirectory = "/home/swarn";
@@ -56,6 +64,8 @@
yazi
aria2
figlet
+ ghostty
+ wezterm
inputs.hypr-wellbeing.packages.${pkgs.system}.default
inputs.luffy.packages.${system}.luffy
];
diff --git a/home/editorconfig.nix b/home/editorconfig.nix
index 5c4561c..312c33d 100644
--- a/home/editorconfig.nix
+++ b/home/editorconfig.nix
@@ -16,7 +16,7 @@
indent_size = 4;
};
- "*.rs" = {
+ "*.jai" = {
indent_size = 4;
};
};
diff --git a/home/wezterm.nix b/home/wezterm.nix
new file mode 100644
index 0000000..6a86aae
--- /dev/null
+++ b/home/wezterm.nix
@@ -0,0 +1,38 @@
+{ ... }:
+
+{
+ programs.wezterm = {
+ enable = true;
+
+ extraConfig = ''
+ local wezterm = require("wezterm")
+ -- local catppuccin = require("colors/catppuccin")
+
+ local config = {
+ default_cursor_style = "SteadyBar",
+
+ -- Correct way: main font + emoji as fallback
+ font = wezterm.font_with_fallback {
+ "LythMono Nerd Font",
+ "NotoColorEmoji Regular",
+ },
+
+ font_size = 16.0,
+
+ enable_tab_bar = false,
+ enable_wayland = true,
+ window_background_opacity = 0.9,
+ window_close_confirmation = "NeverPrompt",
+ default_prog = { "zsh" },
+
+ -- Use built-in Catppuccin (recommended, simpler)
+ color_scheme = "Catppuccin Mocha",
+
+ -- If you prefer your custom colors file instead:
+ -- colors = catppuccin.mocha,
+ }
+
+ return config
+ '';
+ };
+}
diff --git a/home/xdg-user-dirs.nix b/home/xdg-user-dirs.nix
index 7c8bb16..efe9f22 100644
--- a/home/xdg-user-dirs.nix
+++ b/home/xdg-user-dirs.nix
@@ -15,7 +15,7 @@ in
desktop = homeDirectory;
download = "${homeDirectory}/dl";
documents = "${homeDirectory}/dox";
- music = "${homeDirectory}/music";
+ music = "${homeDirectory}/musics";
pictures = "${homeDirectory}/pix";
videos = "${homeDirectory}/vids";
projects = "${homeDirectory}/dox/code";