Flake,Caelestia, initialize caelestia-shell
This commit is contained in:
parent
b515e4f5ab
commit
c9ba8594e4
3 changed files with 139 additions and 2 deletions
68
flake.lock
generated
68
flake.lock
generated
|
|
@ -1,5 +1,51 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"caelestia-cli": {
|
||||||
|
"inputs": {
|
||||||
|
"caelestia-shell": [
|
||||||
|
"caelestia-shell"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"caelestia-shell",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777726295,
|
||||||
|
"narHash": "sha256-Db9B3uTLDSj7zjQ4L3tIk9RcxHXbWRKw5fw8JozikyI=",
|
||||||
|
"owner": "caelestia-dots",
|
||||||
|
"repo": "cli",
|
||||||
|
"rev": "a00e71d6b7572a8dbbb7945a45b79acf2401ad56",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "caelestia-dots",
|
||||||
|
"repo": "cli",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"caelestia-shell": {
|
||||||
|
"inputs": {
|
||||||
|
"caelestia-cli": "caelestia-cli",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"quickshell": "quickshell"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778065483,
|
||||||
|
"narHash": "sha256-o16Q7F9BjZFIPKDis/w/aBbSY6hZRPP/svS8GJ1xuoM=",
|
||||||
|
"owner": "caelestia-dots",
|
||||||
|
"repo": "shell",
|
||||||
|
"rev": "4763a690cd41ba8c13e69d89a0d2d655332d1e89",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "caelestia-dots",
|
||||||
|
"repo": "shell",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"easy-hosts": {
|
"easy-hosts": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755470564,
|
"lastModified": 1755470564,
|
||||||
|
|
@ -185,8 +231,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"quickshell": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"caelestia-shell",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777706159,
|
||||||
|
"narHash": "sha256-TuD8hw9lkRCEb+6v93iB7HDvcmvH8R0qyD6wBmPGfv8=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "8db8ca1fecfcce8def1f9265fa1742baa0e0c271",
|
||||||
|
"revCount": 813,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"caelestia-shell": "caelestia-shell",
|
||||||
"easy-hosts": "easy-hosts",
|
"easy-hosts": "easy-hosts",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
|
|
||||||
12
flake.nix
12
flake.nix
|
|
@ -25,9 +25,10 @@
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
modules = [
|
modules = with inputs;[
|
||||||
./hmModules
|
./hmModules
|
||||||
inputs.nixvim.homeModules.nixvim
|
nixvim.homeModules.nixvim
|
||||||
|
caelestia-shell.homeManagerModules.default
|
||||||
] ++ extraModules;
|
] ++ extraModules;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
@ -58,6 +59,13 @@
|
||||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
caelestia-shell = {
|
||||||
|
type = "github";
|
||||||
|
owner = "caelestia-dots";
|
||||||
|
repo = "shell";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
easy-hosts = {
|
easy-hosts = {
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "tgirlcloud";
|
owner = "tgirlcloud";
|
||||||
|
|
|
||||||
61
hmModules/apps/caelestia-shell/app.nix
Normal file
61
hmModules/apps/caelestia-shell/app.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
{ inputs, config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.caelestia-shell = {
|
||||||
|
enable = lib.mkEnableOption "Enables caelestia-shell";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.caelestia-shell.enable {
|
||||||
|
programs.caelestia = {
|
||||||
|
enable = true;
|
||||||
|
cli.enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
settings = {
|
||||||
|
general.idle.timeouts = [ { timeout = 180; idleAction = "lock"; } ];
|
||||||
|
appearance = {
|
||||||
|
anim.durations.scale = 0.8;
|
||||||
|
transparency = { base = 0.75; enabled = true; layers = 0.4; };
|
||||||
|
};
|
||||||
|
background.desktopClock = {
|
||||||
|
enabled = true;
|
||||||
|
scale = 2.0;
|
||||||
|
};
|
||||||
|
bar = {
|
||||||
|
clock = {
|
||||||
|
background = true;
|
||||||
|
showDate = true;
|
||||||
|
showIcon = false;
|
||||||
|
};
|
||||||
|
entries = [
|
||||||
|
{ id = "logo"; enabled = true; }
|
||||||
|
{ id = "spacer"; enabled = true; }
|
||||||
|
{ id = "tray"; enabled = true; }
|
||||||
|
{ id = "clock"; enabled = true; }
|
||||||
|
{ id = "power"; enabled = true; }
|
||||||
|
];
|
||||||
|
persistent = false;
|
||||||
|
popouts = { activeWindow = false; statusIcons = false; };
|
||||||
|
scrollActions = { workspaces = false; brightness = false; };
|
||||||
|
showOnHover = true;
|
||||||
|
};
|
||||||
|
border = {
|
||||||
|
rounding = 6;
|
||||||
|
thickness = 4;
|
||||||
|
};
|
||||||
|
dashboard.showMedia = false;
|
||||||
|
launcher.enabled = false;
|
||||||
|
osd.enableBrightness = false;
|
||||||
|
paths.wallpaperDir = "${config.xdg.userDirs.pictures}/wallpapers";
|
||||||
|
services = {
|
||||||
|
weatherLocation = "47.61600, -122.31903";
|
||||||
|
useFahrenheit = false;
|
||||||
|
useTwelveHourClock = false;
|
||||||
|
};
|
||||||
|
utilities = {
|
||||||
|
enabled = false;
|
||||||
|
toasts.configLoaded = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue