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" "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": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1718318537, "lastModified": 1718318537,
@ -425,6 +441,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"slippi": "slippi", "slippi": "slippi",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"

View file

@ -1,8 +1,7 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; 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.url = "github:nix-community/disko/master";
disko.inputs.nixpkgs.follows = "nixpkgs"; disko.inputs.nixpkgs.follows = "nixpkgs";

View file

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

View file

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

View file

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