Compare commits

...

4 commits

Author SHA1 Message Date
Geoffrey Frogeye 0e1d387069
Upgrade 2024-04-29 12:29:45 +02:00
Geoffrey Frogeye 7b8ff04f5d
gpg: Increase passphrase remembering timeout
Sweet relief.
2024-04-29 12:26:39 +02:00
Geoffrey Frogeye d276581d94
Add/refresh Nix-related search engines 2024-04-29 12:26:23 +02:00
Geoffrey Frogeye 5924bd59c6
Make Docker work
This tells you how much I use it 😅
2024-04-29 12:25:47 +02:00
5 changed files with 34 additions and 20 deletions

View file

@ -154,11 +154,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1713406758, "lastModified": 1714103775,
"narHash": "sha256-kwZvhmx+hSZvjzemKxsAqzEqWmXZS47VVwQhNrINORQ=", "narHash": "sha256-kcBiIrmqzt3bNTr2GMBfAyA+on8BEKO1iKzzDFQZkjI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "1efd500e9805a9efbce401ed5999006d397b9f11", "rev": "285e26465a0bae510897ca04da26ce6307c652b4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -279,11 +279,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1712386041, "lastModified": 1714043624,
"narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=", "narHash": "sha256-Xn2r0Jv95TswvPlvamCC46wwNo8ALjRCMBJbGykdhcM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff", "rev": "86853e31dc1b62c6eeed11c667e8cdd0285d4411",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -365,11 +365,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1713521961, "lastModified": 1714201532,
"narHash": "sha256-EwR8wW9AqJhSIY+0oxWRybUZ32BVKuZ9bjlRh8SJvQ8=", "narHash": "sha256-nk0W4rH7xYdDeS7k1SqqNtBaNrcgIBYNmOVc8P2puEY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "5d48925b815fd202781bfae8fb6f45c07112fdb2", "rev": "53db5e1070d07e750030bf65f1b9963df8f0c678",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -379,11 +379,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1713344939, "lastModified": 1714272655,
"narHash": "sha256-jpHkAt0sG2/J7ueKnG7VvLLkBYUMQbXQ2L8OBpVG53s=", "narHash": "sha256-3/ghIWCve93ngkx5eNPdHIKJP/pMzSr5Wc4rNKE1wOc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e402c3eb6d88384ca6c52ef1c53e61bdc9b84ddd", "rev": "12430e43bd9b81a6b4e79e64f87c624ade701eaf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -497,11 +497,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1713596844, "lastModified": 1714383054,
"narHash": "sha256-NiAbUyrQsNUFDRRGuu9KEpvjMfm+KKOFJGhy3+wNFdg=", "narHash": "sha256-zUDP3ykEnDpvqeDOwqZxjufjeMgzkbf0DLwHBeSNZbA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "ff4cc8ed94a223e86b385bf4fb878fa1090407ba", "rev": "25549d720af8d5ff6c7e76c09e8bdbcb8a383b03",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -612,11 +612,11 @@
}, },
"unixpkgs": { "unixpkgs": {
"locked": { "locked": {
"lastModified": 1713562564, "lastModified": 1714280680,
"narHash": "sha256-NQpYhgoy0M89g9whRixSwsHb8RFIbwlxeYiVSDwSXJg=", "narHash": "sha256-eNTZCX/vK/BQOpY+6n5a6oGxBBe7qfSbtcppepCLAAQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "92d295f588631b0db2da509f381b4fb1e74173c5", "rev": "9516f3c963708933abe984df94a925af38916237",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -113,13 +113,15 @@
github = "https://github.com/search?q={}"; github = "https://github.com/search?q={}";
google = "https://www.google.fr/search?q={}"; google = "https://www.google.fr/search?q={}";
hm = homemanager; hm = homemanager;
homemanager = "https://mipmip.github.io/home-manager-option-search/?query={}"; homemanager = "https://home-manager-options.extranix.com/?query={}&release=${config.home.version.release}";
invidious = "https://invidious.frogeye.fr/search?q={}"; invidious = "https://invidious.frogeye.fr/search?q={}";
inv = invidious; inv = invidious;
nixos = "https://search.nixos.org/options?channel=${config.home.version.release}&query={}"; nixos = "https://search.nixos.org/options?channel=${config.home.version.release}&query={}";
nixoswiki = "https://wiki.nixos.org/w/index.php?search={}";
nixpkgs = "https://search.nixos.org/packages?channel=${config.home.version.release}&query={}"; nixpkgs = "https://search.nixos.org/packages?channel=${config.home.version.release}&query={}";
noogle = "https://noogle.dev/q?term={}"; noogle = "https://noogle.dev/q?term={}";
npm = "https://www.npmjs.com/search?q={}"; npm = "https://www.npmjs.com/search?q={}";
nw = nixoswiki;
os = nixos; os = nixos;
pkgs = nixpkgs; pkgs = nixpkgs;
q = qwant; q = qwant;

View file

@ -34,13 +34,17 @@
trust = "ultimate"; trust = "ultimate";
}]; }];
}; };
services.gpg-agent = { services.gpg-agent = rec {
enableBashIntegration = true; enableBashIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
pinentryFlavor = "gnome3"; pinentryFlavor = "gnome3";
# gnome3 is nicer, but requires gcr as a dbus package. # gnome3 is nicer, but requires gcr as a dbus package.
# Which is in my NixOS config, and on non-NixOS too. # Which is in my NixOS config, and on non-NixOS too.
# It will fall back to ncurses when running in non-graphics mode. # It will fall back to ncurses when running in non-graphics mode.
defaultCacheTtl = 3600;
defaultCacheTtlSsh = defaultCacheTtl;
maxCacheTtl = 3*3600;
maxCacheTtlSsh = maxCacheTtl;
}; };
}; };
} }

View file

@ -8,6 +8,7 @@
./ccc ./ccc
./common.nix ./common.nix
./desktop.nix ./desktop.nix
./dev
./diff ./diff
./gaming ./gaming
./geoffrey.nix ./geoffrey.nix

7
os/dev/default.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, lib, config, ... }:
{
config = lib.mkIf config.frogeye.dev.docker {
virtualisation.docker.enable = true;
users.users.geoffrey.extraGroups = [ "docker" ];
};
}