feat: add serpantinum shell

This commit is contained in:
tux
2026-09-07 18:47:07 +05:30
parent b87e0889e0
commit edb3678ddd
3 changed files with 128 additions and 5 deletions

62
flake.lock generated
View File

@@ -1368,6 +1368,22 @@
}
},
"nixpkgs_16": {
"locked": {
"lastModified": 1788404924,
"narHash": "sha256-lhEhY8X5EgkQ/eg6IFz4cc8jRuSYSvnxx1al7d1dvZ0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0968519e14f7aa7d3e9b389682bd74d2b51c8ce8",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_17": {
"locked": {
"lastModified": 1782175435,
"narHash": "sha256-EMzXKmnOtBQ2MnvpiNOm7E+kOMvdPrIKaeg52Tip2Uk=",
@@ -1383,7 +1399,7 @@
"type": "github"
}
},
"nixpkgs_17": {
"nixpkgs_18": {
"locked": {
"lastModified": 1770107345,
"narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=",
@@ -1399,7 +1415,7 @@
"type": "github"
}
},
"nixpkgs_18": {
"nixpkgs_19": {
"locked": {
"lastModified": 1774386573,
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
@@ -1779,6 +1795,7 @@
"nixpkgs-stable": "nixpkgs-stable",
"nur": "nur",
"opencode": "opencode",
"serpantinum": "serpantinum",
"sops-nix": "sops-nix",
"tnvim": "tnvim",
"treefmt-nix": "treefmt-nix_2",
@@ -1928,9 +1945,44 @@
"type": "github"
}
},
"serpantinum": {
"inputs": {
"nixpkgs": "nixpkgs_16",
"serpantinum-wallpapers": "serpantinum-wallpapers"
},
"locked": {
"lastModified": 1788698642,
"narHash": "sha256-fiPiQ/FIV0CxUbPwXdRG9YHQ6UGiNcOhG/+29kP+UZI=",
"owner": "ilyamiro",
"repo": "serpantinum",
"rev": "e2754d28bda0e06270b870e2e671ff518e739fd9",
"type": "github"
},
"original": {
"owner": "ilyamiro",
"repo": "serpantinum",
"type": "github"
}
},
"serpantinum-wallpapers": {
"flake": false,
"locked": {
"lastModified": 1787675697,
"narHash": "sha256-ADvKHmQDsX50opqeiyEAB3uxUTjuCyDym0pGQCy7Sws=",
"owner": "ilyamiro",
"repo": "shell-wallpapers",
"rev": "1cb526443872fbf283a3f8305c3aa647545c02e4",
"type": "github"
},
"original": {
"owner": "ilyamiro",
"repo": "shell-wallpapers",
"type": "github"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": "nixpkgs_16"
"nixpkgs": "nixpkgs_17"
},
"locked": {
"lastModified": 1788337237,
@@ -2079,7 +2131,7 @@
},
"treefmt-nix_2": {
"inputs": {
"nixpkgs": "nixpkgs_17"
"nixpkgs": "nixpkgs_18"
},
"locked": {
"lastModified": 1786901030,
@@ -2232,7 +2284,7 @@
"voxtype": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_18"
"nixpkgs": "nixpkgs_19"
},
"locked": {
"lastModified": 1780004034,

View File

@@ -83,5 +83,6 @@
hermes-agent.url = "github:NousResearch/hermes-agent";
voxtype.url = "github:peteonrails/voxtype/v0.7.5";
opencode.url = "github:anomalyco/opencode";
serpantinum.url = "github:ilyamiro/serpantinum";
};
}

View File

@@ -0,0 +1,70 @@
{ inputs, ... }: {
flake.modules.nixos.desktop = {
imports = [
inputs.serpantinum.nixosModules.default
];
programs.serpantinum.enable = true;
};
flake.modules.homeManager.desktop = { pkgs, ... }: {
imports = [
inputs.serpantinum.homeManagerModules.default
];
home.packages = with pkgs; [ pulseaudioFull ];
programs.serpantinum = {
enable = true;
systemd.enable = true;
settings = {
wallpaperDir = "/home/tux/Wallpapers";
general = {
language = "en";
weatherUnit = "metric";
weatherInterval = 30;
};
bar = {
position = "top";
style = "modular";
width = 5;
workspaceCount = 7;
modules = {
left = [
"left"
"workspaces"
"sysmon"
"wifi"
];
center = [ "vis" ];
right = [
[
"media"
"vol"
"bat"
"tray"
"timedate"
]
];
};
};
theme = {
fontFamily = "JetBrains Mono SemiBold";
borderRadius = 12;
matugen = true;
};
notifications = {
dnd = false;
position = "top right";
sound = true;
};
};
};
};
}