Compare commits
4
Commits
6ec681887d
...
3027c76245
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3027c76245
|
||
|
|
1031d91890
|
||
|
|
b315247f33
|
||
|
|
b75cb297a0
|
Generated
+37
-37
@@ -35,11 +35,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782533477,
|
"lastModified": 1786674943,
|
||||||
"narHash": "sha256-2enYwf3n9GUkne9v4J3Ud6LpoG4Uarl3BaSQgRAAH7o=",
|
"narHash": "sha256-UwVo4emt9+GDslfabJfCkfO1uOqdhLroqByMEd9RpGk=",
|
||||||
"owner": "caelestia-dots",
|
"owner": "caelestia-dots",
|
||||||
"repo": "cli",
|
"repo": "cli",
|
||||||
"rev": "e9e115568f818ee1df2d7a9e21925141b053ec6e",
|
"rev": "9857e1a5c4dad637a6220fa4290026559ba86c18",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -58,11 +58,11 @@
|
|||||||
"quickshell": "quickshell"
|
"quickshell": "quickshell"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782636677,
|
"lastModified": 1787103705,
|
||||||
"narHash": "sha256-u01nEjf7afRMCtRjp0LV45DmhC4/n/uPY3S/HAh/V2w=",
|
"narHash": "sha256-8KUEG+FPKJv+yNhOMfEZiGoB9YgTmKTwa611BVgu6LU=",
|
||||||
"owner": "caelestia-dots",
|
"owner": "caelestia-dots",
|
||||||
"repo": "shell",
|
"repo": "shell",
|
||||||
"rev": "145a6795ee41e023e863681cec6c5db3b334ffc0",
|
"rev": "27faa5cf95299c2eaa31848ccd78e746d6eef4ed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -79,11 +79,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782492933,
|
"lastModified": 1787004344,
|
||||||
"narHash": "sha256-v/BH1zfHaCFqP+4Ev9PWiGy15YrpmI9wzjxRtiFhgvA=",
|
"narHash": "sha256-/YbaX3cVP54l6Ol8qgS/K8H+Hu8zgyOgUVDLTv70txE=",
|
||||||
"owner": "9001",
|
"owner": "9001",
|
||||||
"repo": "copyparty",
|
"repo": "copyparty",
|
||||||
"rev": "4c8203016f089b38281ed922a78255146f099e7b",
|
"rev": "6115eb452d2c2bbdeef5d19098fac17db69ddaa8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -207,11 +207,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782702263,
|
"lastModified": 1786999651,
|
||||||
"narHash": "sha256-8/MG4Su7PhnynrmsVO61IeAfrK7GuUEu+E+gwbhy1QQ=",
|
"narHash": "sha256-MTGMFlLDTklsXhCp4r5GXB4VAVadPdalXLvUjd/K7h0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "789a35fbdeb3c46b260096daa0b321c11be527ea",
|
"rev": "353742587cbaf079b3caee743115d037bc51fea6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -268,11 +268,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782636943,
|
"lastModified": 1786852476,
|
||||||
"narHash": "sha256-ripjZa7BBLwL1uS5VJF3s/VpZpWt5ZIQEvkJ/FJNpQw=",
|
"narHash": "sha256-IM5CYtf86W4w8eUPpKcY/LpdHElmVBtJhaKnoTKxZEA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "058b1f9381fa79fcda49982370a750ff92dbba43",
|
"rev": "c7962dc97b45129df8d751bedaf37beb5a17706e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -283,11 +283,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782467914,
|
"lastModified": 1787070829,
|
||||||
"narHash": "sha256-pGvFkM8N0xEkIIXDe5YYfbEAvHrk4IxBrjB/x8OomhE=",
|
"narHash": "sha256-vXNVDVtvfiQuXthP0NHPFdNvvMTkGpx0UP8oddIWbNk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e73de5be04e0eff4190a1432b946d469c794e7b4",
|
"rev": "0ae2bc1419c3f345984c2629e72e7a631820fa4d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -299,11 +299,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgsStable": {
|
"nixpkgsStable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782498288,
|
"lastModified": 1782847189,
|
||||||
"narHash": "sha256-8/X3yyTXiE82b38n32ItbOqfWOVBl+gKa8fILyZfR4Q=",
|
"narHash": "sha256-twXPFqFsrrY5r28Zh7Homgcp2gUMBgQ6WDS98Q/3xFI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3cac626ec5e3703e835f227687e88aa9e2f25701",
|
"rev": "b6018f87da91d19d0ab4cf979885689b469cdd41",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -342,11 +342,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781847791,
|
"lastModified": 1785704021,
|
||||||
"narHash": "sha256-Mo2YtNEGlcySnbq0YuP3nUKMAQCMAfE+TcCffo5vzD8=",
|
"narHash": "sha256-eQtczKMAS4ItlB4pr1B3MqBZiyRVl2nkqNdtyRSQMa8=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "68c2c85c33845385f7ab8147b32f1450b1e468e0",
|
"rev": "28771c7c74b42e20afca0b1b63980cb46515537c",
|
||||||
"revCount": 824,
|
"revCount": 835,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||||
},
|
},
|
||||||
@@ -466,11 +466,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782165805,
|
"lastModified": 1786629091,
|
||||||
"narHash": "sha256-478kKQBvK6SYTOdN2h9jhKJv94nbXRbFMfuL1WshErg=",
|
"narHash": "sha256-gkig4nPi1CWc4Z50GBsjE4ygSE7hMpl/TwID2an2Cck=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "56b24064fdcaedca53553b1a6d607fd23b613a24",
|
"rev": "a8627b21b9107c5711c96b84f32a9a4b3d45295f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -487,11 +487,11 @@
|
|||||||
"systems": "systems_4"
|
"systems": "systems_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782633406,
|
"lastModified": 1786855359,
|
||||||
"narHash": "sha256-JOSMk12GgnTLVlUSCuKkqyUF6cw82wl7t7e1WuFfg5s=",
|
"narHash": "sha256-yeKMWFCPeoIKmPBLLvP1/15ulOJO8i9ZIlSSXGuW6aw=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "5ff9a6ca9dcbad7cccea2c97d30237468b16feda",
|
"rev": "0f478ff79b82abb785160cd4531293f61d21be86",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -507,11 +507,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782700116,
|
"lastModified": 1786933611,
|
||||||
"narHash": "sha256-E63+nvH3jkAt/hBxhMa5aykstXdqRvBSeqNRDpQNv78=",
|
"narHash": "sha256-FhNVyQZuDvWOozJ1mNuFJ/LY62r3PtBC+kzQNzdi400=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "srvos",
|
"repo": "srvos",
|
||||||
"rev": "d45cf79058f2d42c0b0dd7912bedb5d14faa00ed",
|
"rev": "3fea6d6ca2b90b9e86b36b0dc23abc8f92cf5b9f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -587,11 +587,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782624757,
|
"lastModified": 1786685380,
|
||||||
"narHash": "sha256-pqFaCAV+g8H+p0kE4vYn9ZgcEFvt644zGy7SyCdf9c8=",
|
"narHash": "sha256-3ZuubfWk7CHPF/60w5BVrVkzdO7Oed1MgZ+ugLsgww8=",
|
||||||
"owner": "youwen5",
|
"owner": "youwen5",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "907465791e7064d86d37964dd95e23280dfb68da",
|
"rev": "e1e4aa6433a352f07059aeb8483ae42deb61f9b2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -7,7 +7,14 @@
|
|||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.home.desktop.caelestia;
|
cfg = config.home.desktop.caelestia;
|
||||||
in {
|
in {
|
||||||
options.home.desktop.caelestia.enable = mkEnableOption "Enables Caelestia Shell";
|
options.home.desktop.caelestia = {
|
||||||
|
enable = mkEnableOption "Enables Caelestia Shell";
|
||||||
|
idleTimeout = mkOption {
|
||||||
|
description = "Idle duration in seconds before locking the session";
|
||||||
|
default = 60 * 60; # an hour
|
||||||
|
type = types.int;
|
||||||
|
};
|
||||||
|
};
|
||||||
config.programs.caelestia = mkIf cfg.enable {
|
config.programs.caelestia = mkIf cfg.enable {
|
||||||
inherit (cfg) enable;
|
inherit (cfg) enable;
|
||||||
systemd = {
|
systemd = {
|
||||||
@@ -28,7 +35,7 @@ in {
|
|||||||
inhibitWhenAudio = true;
|
inhibitWhenAudio = true;
|
||||||
timeouts = [
|
timeouts = [
|
||||||
{
|
{
|
||||||
timeout = 3600;
|
timeout = cfg.idleTimeout;
|
||||||
idleAction = "lock";
|
idleAction = "lock";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -57,12 +57,15 @@ in {
|
|||||||
inherit (cfg) name email;
|
inherit (cfg) name email;
|
||||||
};
|
};
|
||||||
ui = {
|
ui = {
|
||||||
|
inherit (cfg) editor;
|
||||||
default-command = "st";
|
default-command = "st";
|
||||||
pager = ":builtin";
|
pager = ":builtin";
|
||||||
show-cryptographic-signatures = true;
|
show-cryptographic-signatures = true;
|
||||||
diff-editor = ":builtin";
|
diff-editor = ":builtin";
|
||||||
merge-editort = ":builtin";
|
merge-editort = ":builtin";
|
||||||
inherit (cfg) editor;
|
# These are for vc-jj.el in Emacs
|
||||||
|
diff-formatter = ":git";
|
||||||
|
conflict-marker-style = "git";
|
||||||
};
|
};
|
||||||
signing = mkIf cfg.signing.enable {
|
signing = mkIf cfg.signing.enable {
|
||||||
behavior = "own";
|
behavior = "own";
|
||||||
|
|||||||
@@ -38,6 +38,10 @@
|
|||||||
"*.env.*" = "deny";
|
"*.env.*" = "deny";
|
||||||
"*.env.example" = "allow";
|
"*.env.example" = "allow";
|
||||||
};
|
};
|
||||||
|
skill = "allow";
|
||||||
|
question = "allow";
|
||||||
|
task = "allow";
|
||||||
|
todowrite = "allow";
|
||||||
};
|
};
|
||||||
formatter.nixfmt = {
|
formatter.nixfmt = {
|
||||||
command = ["nix" "fmt" "$FILE"];
|
command = ["nix" "fmt" "$FILE"];
|
||||||
|
|||||||
@@ -7,7 +7,10 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
ollama.gpu = "rocm";
|
ollama.gpu = "rocm";
|
||||||
};
|
};
|
||||||
desktop.hyprland.host = "marpa";
|
desktop = {
|
||||||
|
hyprland.host = "marpa";
|
||||||
|
caelestia.idleTimeout = 60 * 60 * 24; # a day
|
||||||
|
};
|
||||||
phundrak.sshKey.content = builtins.readFile ../keys/id_marpa.pub;
|
phundrak.sshKey.content = builtins.readFile ../keys/id_marpa.pub;
|
||||||
};
|
};
|
||||||
programs.caelestia.settings.bar.status = {
|
programs.caelestia.settings.bar.status = {
|
||||||
|
|||||||
Reference in New Issue
Block a user