Fix common scripts not working

This commit is contained in:
Daniel Flanagan 2024-06-24 10:03:00 -05:00
parent 9f4edbe16d
commit 7efd72ded7
5 changed files with 24 additions and 3 deletions

View file

@ -346,6 +346,22 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1719082008,
"narHash": "sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9693852a2070b398ee123a329e68f0dab5526681",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1718318537,
@ -425,6 +441,7 @@
"home-manager": "home-manager",
"hyprland": "hyprland",
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
"pre-commit-hooks": "pre-commit-hooks",
"slippi": "slippi",
"sops-nix": "sops-nix"

View file

@ -1,8 +1,7 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
# nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
disko.url = "github:nix-community/disko/master";
disko.inputs.nixpkgs.follows = "nixpkgs";

View file

@ -41,6 +41,10 @@
nil
alejandra
gnupg
(pkgs.buildEnv {
name = "my-common-scripts";
paths = [./scripts/common];
})
];
};

View file

@ -7,7 +7,6 @@
programs.fish = {
shellAliases = {
# TODO: these aren't working?
disks = "df -h && lsblk";
sctl = "sudo systemctl";
bt = "bluetoothctl";

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
N todo