Added misc packages

Ran into a bunch of utils I was missing
This commit is contained in:
Alejandro Angulo 2022-10-31 17:21:58 -07:00
parent ee91268f30
commit 2b8a3e66d3
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 58 additions and 13 deletions

View file

@ -4,19 +4,20 @@
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ],
"utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1656169755, "lastModified": 1667234164,
"narHash": "sha256-Nlnm4jeQWEGjYrE6hxi/7HYHjBSZ/E0RtjCYifnNsWk=", "narHash": "sha256-oPMAvHZBDgamjmIQly5+sw2LtfKwY7qcWZZwKiwKQy8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4a3d01fb53f52ac83194081272795aa4612c2381", "rev": "722e8d65d3aba6f527100cc2d1539e4ca04d066f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-22.05", "ref": "master",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -57,11 +58,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1665081174, "lastModified": 1667050928,
"narHash": "sha256-6hsmzdhdy8Kbvl5e0xZNE83pW3fKQvNiobJkM6KQrgA=", "narHash": "sha256-xOn0ZgjImIyeecEsrjxuvlW7IW5genTwvvnDQRFncB8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "598f83ebeb2235435189cf84d844b8b73e858e0f", "rev": "fdebb81f45a1ba2c4afca5fd9f526e1653ad0949",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -102,10 +103,26 @@
"type": "github" "type": "github"
} }
}, },
"nur": {
"locked": {
"lastModified": 1667138094,
"narHash": "sha256-9D5YZlgXR4qdTff7DNoyANyH0v+ad+Ipom0A23BCUlA=",
"owner": "nix-community",
"repo": "NUR",
"rev": "50c60a363e0e1e7423d29efd11f7882bfe8f6bdd",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur",
"ssbm-nix": "ssbm-nix" "ssbm-nix": "ssbm-nix"
} }
}, },
@ -144,6 +161,21 @@
"repo": "ssbm-nix", "repo": "ssbm-nix",
"type": "github" "type": "github"
} }
},
"utils": {
"locked": {
"lastModified": 1667077288,
"narHash": "sha256-bdC8sFNDpT0HK74u9fUkpbf1MEzVYJ+ka7NXCdgBoaA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -5,12 +5,14 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
nur.url = github:nix-community/NUR;
ssbm-nix.url = github:djanatyn/ssbm-nix; ssbm-nix.url = github:djanatyn/ssbm-nix;
}; };
outputs = { outputs = {
nixpkgs, nixpkgs,
home-manager, home-manager,
nur,
ssbm-nix, ssbm-nix,
... ...
}: let }: let
@ -73,6 +75,7 @@
modules = [ modules = [
ssbm-nix.nixosModule ssbm-nix.nixosModule
nur.nixosModules.nur
./system/gospel/configuration.nix ./system/gospel/configuration.nix
./common/yubikey.nix ./common/yubikey.nix
]; ];

View file

@ -21,11 +21,13 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Make ready for nix flakes nix = {
nix.package = pkgs.nixVersions.stable; # Make ready for nix flakes
nix.extraOptions = '' package = pkgs.nixVersions.stable;
experimental-features = nix-command flakes extraOptions = ''
''; experimental-features = nix-command flakes
'';
};
networking.hostName = "gospel"; # Define your hostname. networking.hostName = "gospel"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
@ -108,6 +110,14 @@
usbutils usbutils
pavucontrol pavucontrol
cachix cachix
nixos-generators
config.nur.repos.mic92.yubikey-touch-detector
cryptsetup
paperkey
unzip
p7zip
nix-index
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are