Compare commits

...

4 commits

Author SHA1 Message Date
Leonardo Eugênio 44772b3063 scripts: add pass export script 2024-05-27 00:10:11 -03:00
Leonardo Eugênio 68b627fbfb qutebrowser: don't install if not the default browser 2024-05-25 19:44:10 -03:00
Leonardo Eugênio af640e2ba5 monolith: disable virtualbox while it's borked 2024-05-25 19:43:52 -03:00
Leonardo Eugênio 61b94b8229 flake: update to 24.05 2024-05-25 19:43:34 -03:00
6 changed files with 22 additions and 12 deletions

View file

@ -491,15 +491,16 @@
]
},
"locked": {
"lastModified": 1715359697,
"narHash": "sha256-FJYyXqulIbCdsUCTFBTu/bIH4aN+7jzjQAn52Qc6qPg=",
"lastModified": 1716563886,
"narHash": "sha256-MKSVKxP50gEbdP60G0M5LampyVSIGT8FGGB88nKPmi8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f2c5ba5e720fd584d83f2f97399dac0d26ae60b9",
"rev": "00a86e4f7a6455ad58b7090a931f1c6097e4fcd7",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.05",
"repo": "home-manager",
"type": "github"
}
@ -881,16 +882,16 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1715266358,
"narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=",
"lastModified": 1716408587,
"narHash": "sha256-el71IUaQdEmntmd51GBpkJs/Hqh6S4dmfmUGP8GQaME=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f1010e0469db743d14519a1efd37e23f8513d714",
"rev": "1a7abfa62e8a36f7f2dbe463722ed9ea31be5e43",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"ref": "nixos-24.05",
"type": "indirect"
}
},

View file

@ -1,8 +1,8 @@
{
description = "My system config";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
nixpkgs.url = "nixpkgs/nixos-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-index-database = {

View file

@ -55,8 +55,6 @@ in
};
};
virtualisation.virtualbox.host.enable = true;
fileSystems."/" = {
device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs";

View file

@ -42,6 +42,7 @@ create_scripts
[ ]; # This will not work unless programs.wshowkeys is enabled systemwide
terminal = [ alacritty ];
playerctl-status = [ playerctl ];
pass-export = [ pass2csv gnupg ];
wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ];
screenshotsh =
[ capitaine-cursors grim slurp jq sway wl-clipboard xdg-user-dirs ];

10
scripts/pass-export Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
if test -z "$PASSWORD_STORE_DIR"; then
PASSWORD_STORE_DIR="$HOME/.password-store"
fi
pass2csv "$PASSWORD_STORE_DIR" "$HOME/passwords.csv" \
-f User '(user|login)(:\s*)?' \
-f TOTP 'otpauth(:)?' \
-f URL 'url(:\s*)?'

View file

@ -10,7 +10,7 @@ in
];
config = {
programs.qutebrowser = {
programs.qutebrowser = lib.mkIf (browser == "qutebrowser") {
enable = true;
# enableDefaultBindings = false;
keyBindings = {