mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
parent
8577e94548
commit
f7262cffcd
3 changed files with 0 additions and 14 deletions
|
|
@ -20,7 +20,6 @@
|
|||
# Dev
|
||||
gh
|
||||
fuckport
|
||||
mood
|
||||
];
|
||||
|
||||
home.shellAliases = rec {
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{ writeShellApplication, sqlite, ... }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "mood";
|
||||
runtimeInputs = [ sqlite ];
|
||||
text = ''
|
||||
echo "Inserting mood: $1"
|
||||
sqlite3 ~/.dioxus-desktop-template.db "INSERT INTO mood VALUES (CURRENT_TIMESTAMP, $1);"
|
||||
echo "Displaying recent entries:"
|
||||
sqlite3 ~/.dioxus-desktop-template.db "SELECT * FROM mood ORDER BY datetime DESC LIMIT 10;"
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
self: super: {
|
||||
fuckport = self.callPackage ./fuckport.nix { };
|
||||
mood = self.callPackage ./mood.nix { };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue