11 Commits
7 changed files with 138 additions and 123 deletions

No files matched your search

Generated
+33 -79
View File
@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1792507013,
"narHash": "sha256-8tKjSQajD3mUND1GaAuaWTcuyUpgcGsh5V+l4ibzC7U=",
"lastModified": 1795823210,
"narHash": "sha256-yPlK2RCDORlzdflKxIudPZ1fspEGTvHxrdUl54R1mOk=",
"owner": "ryantm",
"repo": "agenix",
"rev": "5e5b88a0c8e56f291a108c2fe9934054d9745b2e",
"rev": "60b6a60f2503f93d131b74c2f7f8600dc6ffbb28",
"type": "github"
},
"original": {
@@ -31,11 +31,11 @@
]
},
"locked": {
"lastModified": 1794549950,
"narHash": "sha256-CwnkJOnUNZB2jQGz5824L0myBtvmc98OyrwJvZgcT5s=",
"lastModified": 1795850895,
"narHash": "sha256-WDW7qJRKnKSQJJZsjcM1zWsArTVYSiSXWn0swQ/7UTs=",
"owner": "caelestia-dots",
"repo": "cli",
"rev": "9ab901f592917454da396ea012c50dd2c3f37003",
"rev": "ea4cc5e28d54ee3c1a10ff0cf309d5e36c2a641f",
"type": "github"
},
"original": {
@@ -54,11 +54,11 @@
"quickshell": "quickshell"
},
"locked": {
"lastModified": 1795243942,
"narHash": "sha256-LHHsv/3AR1mBhSHNZdZVULUleCoZOoJYtSn0dZV73zg=",
"lastModified": 1796303213,
"narHash": "sha256-LdV/q5+KgvHSDeTpOwGhUYjpNqy5GVA0tOAmnHsVYyA=",
"owner": "caelestia-dots",
"repo": "shell",
"rev": "4cb1b36b544958f9e422b7aa93349bcb85729456",
"rev": "40bb89f2fd489929ecfbdbcb31abcda6295ead14",
"type": "github"
},
"original": {
@@ -74,11 +74,11 @@
]
},
"locked": {
"lastModified": 1795168368,
"narHash": "sha256-D35n2Q2v1KrlF9LS/pFl8Z3EBMJW6qvPw5q4HMbXXLg=",
"lastModified": 1796026689,
"narHash": "sha256-D95UsazXHYGv3cCKoiKAdkWttY+IewbtrCy1IB/b7rQ=",
"owner": "nix-community",
"repo": "disko",
"rev": "44761d4f745b95e037458a0e57133c5700c8e320",
"rev": "b4b178f363e2e301a6137d734414b1c0182690aa",
"type": "github"
},
"original": {
@@ -92,12 +92,12 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1793576659,
"narHash": "sha256-V1h85lUaJBQoHFrB2vpXZOE0Ju1MYSnIpsehoVZYlDo=",
"rev": "ea2630b7470978622c7689a1ff75d2b389175399",
"revCount": 500,
"lastModified": 1796169493,
"narHash": "sha256-Ljl9I/IJyDOIfWQtXod8f81JnDgc4HoveQrobekrtX4=",
"rev": "63bf28d1422cb81de4e64a29cb4c7b92ca5d97fc",
"revCount": 503,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.500%2Brev-ea2630b7470978622c7689a1ff75d2b389175399/01a19ac2-dfcb-7d80-9e19-b995afbc39ec/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.503%2Brev-63bf28d1422cb81de4e64a29cb4c7b92ca5d97fc/01a23547-26f9-7243-839b-633a12fda65d/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -128,11 +128,11 @@
]
},
"locked": {
"lastModified": 1794943722,
"narHash": "sha256-Qkh6uNyMsic61gfyOO8VXnC+HEBdti6Xe2kKiMf66O0=",
"lastModified": 1796054176,
"narHash": "sha256-x/SIRUpSU0EhjeubHPUexVVUCHiPXn2sgLF+W106x8M=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "5643e73425b85ac359ba2aaf83deae8ce1cd7968",
"rev": "8427ce843886296bcba163ed3c6ed4368a676362",
"type": "github"
},
"original": {
@@ -204,11 +204,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1795137884,
"narHash": "sha256-iKXCN36qYfBni+3nH4vAd98/kshoIsPB2S9mYWhma30=",
"lastModified": 1796369363,
"narHash": "sha256-ZFSdGT2a6iMRkmZY7tVc6Tuxuh2+udijk/COzwU+9Uo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ab5c18fdedfc8f9bbc9d773f10a540790e2787a7",
"rev": "64ac961a07ffd23b52f06ae9f6e6fc84dad7906e",
"type": "github"
},
"original": {
@@ -220,11 +220,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1793504054,
"narHash": "sha256-ThkfL3D/FhCiZFc9+3BtxwuMmpuK+/bGtXCSo1+yVew=",
"lastModified": 1795928076,
"narHash": "sha256-2/n+aJ69nHqhMh3//zNOzohEu5bI29vtIhtXQ6Cns3M=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "7851ba61fd862b277cb6a9cef37394bc18bb94e4",
"rev": "052e13f3a0d2defdd6ac5024c21fc127d1da09ee",
"type": "github"
},
"original": {
@@ -258,11 +258,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1795187554,
"narHash": "sha256-5q5/viwCcXSA4S2cSaKdjdYrHhk64qFbjLhCMlJnyeM=",
"lastModified": 1796090349,
"narHash": "sha256-5srci57zsJ5GoJXaLjCpxTUI/D8FJTt+uDCcC4gMcC0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9996594bd38077de6a018ec17453ba3d99182787",
"rev": "478c8314389ef60a6286b825d8ab363ab62f73bd",
"type": "github"
},
"original": {
@@ -282,11 +282,11 @@
]
},
"locked": {
"lastModified": 1795117631,
"narHash": "sha256-u0ZcADk5btHIS0BA9GDveU0wmAHGwHPg5Cy6V9qyCgA=",
"lastModified": 1796052249,
"narHash": "sha256-ObdFXq94mZTWuUHZlpRAHKSaZpeNHFck3ckvyDisaM4=",
"owner": "tomasriveral",
"repo": "notewrapper",
"rev": "b4594c7e85495de424c2853494be629c3f80208e",
"rev": "b24a7bbec2db7a1d46f07612c32b67ab842f5489",
"type": "github"
},
"original": {
@@ -295,30 +295,6 @@
"type": "github"
}
},
"patent": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs-unstable"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1794460814,
"narHash": "sha256-wlNqLQI1SiCmWQbdvCyjJs/73toPYz2BzUzbUApfxWc=",
"owner": "r14dd",
"repo": "patent",
"rev": "9c6dd30e493e5cf85ee43149171795a92e8c7643",
"type": "github"
},
"original": {
"owner": "r14dd",
"repo": "patent",
"type": "github"
}
},
"quickshell": {
"inputs": {
"nixpkgs": [
@@ -356,29 +332,7 @@
],
"nixpkgs-notifier": "nixpkgs-notifier",
"nixpkgs-unstable": "nixpkgs-unstable",
"notewrapper": "notewrapper",
"patent": "patent"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": [
"patent",
"nixpkgs"
]
},
"locked": {
"lastModified": 1780888890,
"narHash": "sha256-MUQPFiskEENaJ2N82TRIqpKlHXGXJJkPfKH6W788oQo=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "7d5f8d75fc195a236b46633d7679139698aeb35f",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
"notewrapper": "notewrapper"
}
},
"systems": {
+86 -35
View File
@@ -33,11 +33,13 @@
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
patent = {
/*
patent = { # Broken
url = "github:r14dd/patent";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
*/
caelestia-shell = {
# based on quickshell. See https://github.com/caelestia-dots/shell
url = "github:caelestia-dots/shell";
@@ -50,7 +52,6 @@
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
/*
microPlugins-vivify = {
@@ -63,39 +64,89 @@
};
import-tree.url = "github:vic/import-tree"; # imports ./modules recursively
};
/*
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;}
({
flake = let
system = "x86_64-linux";
unfreePkgs = [
"code"
"hplip"
"nvidia-x11"
"nvidia-settings"
"steam"
"steam-unwrapped"
"cheatsheet.nvim"
"vscode"
"vscode-fhs"
"zoom-us"
"zoom"
];
mkUnfreePredicate = pkg:
builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs;
mkPkgs = nixpkgsInput:
import nixpkgsInput {
inherit system;
config.allowUnfreePredicate = mkUnfreePredicate;
};
pkgs = mkPkgs inputs.nixpkgs;
pkgs-unstable = mkPkgs inputs.nixpkgs-unstable;
pkgs-local = mkPkgs inputs.nixpkgs-unstable;
#pkgs-local = mkPkgs inputs.nixpkgs-local;
pkgs-master = mkPkgs inputs.nixpkgs-master;
in {
inherit pkgs pkgs-unstable pkgs-local pkgs-master;
};
}
// (inputs.import-tree ./modules));
*/
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;}
({
flake = let
system = "x86_64-linux";
unfreePkgs = [
"code"
"hplip"
"nvidia-x11"
"nvidia-settings"
"steam"
"steam-unwrapped"
"cheatsheet.nvim"
"vscode"
"vscode-fhs"
"zoom-us"
"zoom"
];
mkUnfreePredicate = pkg:
builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs;
mkPkgs = nixpkgsInput:
import nixpkgsInput {
inherit system;
config.allowUnfreePredicate = mkUnfreePredicate;
};
pkgs = mkPkgs inputs.nixpkgs;
pkgs-unstable = mkPkgs inputs.nixpkgs-unstable;
pkgs-local = mkPkgs inputs.nixpkgs-unstable;
#pkgs-local = mkPkgs inputs.nixpkgs-local;
pkgs-master = mkPkgs inputs.nixpkgs-master;
in {
inherit pkgs pkgs-unstable pkgs-local pkgs-master;
};
}
// (inputs.import-tree ./modules));
({...}: {
imports = [
(inputs.import-tree ./modules)
];
flake = let
system = "x86_64-linux";
unfreePkgs = [
"code"
"hplip"
"nvidia-x11"
"nvidia-settings"
"steam"
"steam-unwrapped"
"cheatsheet.nvim"
"vscode"
"vscode-fhs"
"zoom-us"
"zoom"
];
insecurePkgs = [
# We use predicates (name + version) and not the name for security reasons.
"qutebrowser-3.7.0" # Still accepts eMudhra TLS certs. # We only use it with to view vivify outputs, so no problem
];
mkUnfreePredicate = pkg:
builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs;
mkPkgs = nixpkgsInput:
import nixpkgsInput {
inherit system;
config.allowUnfreePredicate = mkUnfreePredicate;
config.permittedInsecurePackages = insecurePkgs;
};
pkgs = mkPkgs inputs.nixpkgs;
pkgs-unstable = mkPkgs inputs.nixpkgs-unstable;
pkgs-local = mkPkgs inputs.nixpkgs-unstable;
pkgs-master = mkPkgs inputs.nixpkgs-master;
in {
inherit pkgs pkgs-unstable pkgs-local pkgs-master;
};
});
}
+7 -5
View File
@@ -1,12 +1,14 @@
{self, ...}: {
flake.nixosModules.caelestia = {pkgs, ...}: {
flake.nixosModules.caelestia = {pkgs-unstable, ...}: {
qt.enable = true;
# to resolve this https://wiki.nixos.org/wiki/Home_Manager#I_cannot_set_GNOME_or_Gtk_themes_via_Home_Manager
programs.dconf.enable = true;
environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs-unstable; [
self.packages.${pkgs.system}.qtbatticon
kdePackages.qtdeclarative # provides qmlls and other things
kdePackages.qt5compat
kdePackages.qtbase
quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")"
];
};
@@ -431,9 +433,9 @@
gpuType = "";
#playerAliases: [ { "from": "com.github.th_ch.youtube_music", "to": "YT Music" } ]; # how to put this into nix language?
weatherLocation = "Lausanne";
useFahrenheit = false;
useFahrenheitPerformance = false;
useTwelveHourClock = false;
weatherUnit = "Celsius";
sensorUnits = "Celsius";
clockFormat = "24-hour";
smartScheme = false; # default true
visualisersBars = 45;
};
+8
View File
@@ -27,5 +27,13 @@ in {
};
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [
"quiet"
"splash"
"loglevel=3"
"rd.udev.log_level=3"
"systemd.show_status=false"
];
};
}
+1 -1
View File
@@ -26,7 +26,7 @@
pavucontrol # PulseAudio Volume Control
mplayer # Movie player that supports many video formats
krita # image edition
yt-dlp # some youtube downloader
#yt-dlp # some youtube downloader # curently broken
vlc
#mprisence # Highly customizable Discord Rich Presence for MPRIS media players on Linux
#gif-for-cli # Render gifs as ASCII art in your cli
+1 -1
View File
@@ -36,7 +36,7 @@
gnupg
pinentry-curses
inputs.nixpkgs-notifier.packages.${pkgs.system}.default
inputs.patent.packages.${pkgs.system}.default
#inputs.patent.packages.${pkgs.system}.default # broken
];
};
flake.homeModules.development = _: {
+2 -2
View File
@@ -16,12 +16,12 @@
powertop
fzf
bottom # Cross-platform graphical process/system monitor with a customizable interface
tomato-c # pomodoro timer
#tomato-c # pomodoro timer # broken
#hyprshot
mailcap
fuzzel
usbutils # used for lsusb
self.packages.${pkgs.system}.custom-tomato
#self.packages.${pkgs.system}.custom-tomato # broken
self.packages.${pkgs.system}.custom-syllabes
pkgs-unstable.bitwarden-desktop
fluffychat # matrix client