setup scanning
This commit is contained in:
parent
119abb0377
commit
0875697997
4 changed files with 85 additions and 6 deletions
77
flake.lock
generated
77
flake.lock
generated
|
|
@ -387,6 +387,24 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_5": {
|
"flake-utils_5": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_5"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_6": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": [
|
"systems": [
|
||||||
"starship-jj",
|
"starship-jj",
|
||||||
|
|
@ -713,6 +731,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1764915887,
|
||||||
|
"narHash": "sha256-CeBCJ9BMsuzVgn8GVfuSRZ6xeau7szzG0Xn6O/OxP9M=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "42e29df35be6ef54091d3a3b4e97056ce0a98ce8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755186698,
|
"lastModified": 1755186698,
|
||||||
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
|
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
|
||||||
|
|
@ -900,6 +934,7 @@
|
||||||
"optnix": "optnix",
|
"optnix": "optnix",
|
||||||
"other-transcode": "other-transcode",
|
"other-transcode": "other-transcode",
|
||||||
"river-shifttags": "river-shifttags",
|
"river-shifttags": "river-shifttags",
|
||||||
|
"scansnapit": "scansnapit",
|
||||||
"starship-jj": "starship-jj",
|
"starship-jj": "starship-jj",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
|
|
@ -943,12 +978,31 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"scansnapit": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_5",
|
||||||
|
"nixpkgs": "nixpkgs_6"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1764969464,
|
||||||
|
"narHash": "sha256-vG2vlM9FLxtj4rphizrXrC2FuIPfc4HMUsWEYU20yJk=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "763d2110c84041dc733f3bfb692e91cb8ccff9e9",
|
||||||
|
"revCount": 1,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://forgejo@forgejo.005540.xyz/logistic-bot/scansnapit"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://forgejo@forgejo.005540.xyz/logistic-bot/scansnapit"
|
||||||
|
}
|
||||||
|
},
|
||||||
"starship-jj": {
|
"starship-jj": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_6",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"systems": "systems_5"
|
"systems": "systems_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1757479801,
|
"lastModified": 1757479801,
|
||||||
|
|
@ -977,7 +1031,7 @@
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_6",
|
"systems": "systems_7",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
|
|
@ -1089,6 +1143,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_7": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tinted-foot": {
|
"tinted-foot": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,8 @@
|
||||||
optnix.url = "github:water-sucks/optnix";
|
optnix.url = "github:water-sucks/optnix";
|
||||||
|
|
||||||
starship-jj.url = "gitlab:lanastara_foss/starship-jj";
|
starship-jj.url = "gitlab:lanastara_foss/starship-jj";
|
||||||
|
|
||||||
|
scansnapit.url = "git+ssh://forgejo@forgejo.005540.xyz/logistic-bot/scansnapit";
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
|
@ -62,6 +64,7 @@
|
||||||
copyparty,
|
copyparty,
|
||||||
optnix,
|
optnix,
|
||||||
starship-jj,
|
starship-jj,
|
||||||
|
scansnapit,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
@ -75,6 +78,7 @@
|
||||||
cassowary = cassowary.packages.${system}.default;
|
cassowary = cassowary.packages.${system}.default;
|
||||||
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
|
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
|
||||||
starship-jj = starship-jj.packages.${system}.default;
|
starship-jj = starship-jj.packages.${system}.default;
|
||||||
|
scansnapit = scansnapit.packages.${system}.default;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations.void = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.void = nixpkgs.lib.nixosSystem {
|
||||||
|
|
@ -96,9 +100,9 @@
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
|
||||||
copyparty.nixosModules.default
|
copyparty.nixosModules.default
|
||||||
({ ... }: {
|
({...}: {
|
||||||
# add the copyparty overlay to expose the package to the module
|
# add the copyparty overlay to expose the package to the module
|
||||||
nixpkgs.overlays = [ copyparty.overlays.default ];
|
nixpkgs.overlays = [copyparty.overlays.default];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|
|
||||||
4
home.nix
4
home.nix
|
|
@ -9,6 +9,7 @@
|
||||||
nix-doom-emacs-unstraightened,
|
nix-doom-emacs-unstraightened,
|
||||||
cassowary,
|
cassowary,
|
||||||
starship-jj,
|
starship-jj,
|
||||||
|
scansnapit,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
username = "khais";
|
username = "khais";
|
||||||
|
|
@ -124,6 +125,9 @@ in {
|
||||||
nil
|
nil
|
||||||
# used for jujutsu watch
|
# used for jujutsu watch
|
||||||
watchman
|
watchman
|
||||||
|
# scanning
|
||||||
|
scansnapit
|
||||||
|
naps2
|
||||||
];
|
];
|
||||||
|
|
||||||
file = {
|
file = {
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,8 @@ in {
|
||||||
"Control+Alt+Shift L" = "spawn '${lock-command} & systemctl suspend'";
|
"Control+Alt+Shift L" = "spawn '${lock-command} & systemctl suspend'";
|
||||||
# terminal
|
# terminal
|
||||||
"Super Return" = "spawn kitty";
|
"Super Return" = "spawn kitty";
|
||||||
|
# scansnapit!
|
||||||
|
"Super Space" = "spawn scansnapit";
|
||||||
# frequent programs
|
# frequent programs
|
||||||
"Super Q" = "spawn firefox";
|
"Super Q" = "spawn firefox";
|
||||||
"Super A" = "spawn emacs";
|
"Super A" = "spawn emacs";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue