flake: adjust paths for new layout, add packages followin nixpkgs

This commit is contained in:
Asmir A 2023-09-29 20:59:39 +02:00
parent 1f8440a351
commit de81dc1f58

View File

@ -3,9 +3,16 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
caps2esc.url = "gitlab:asmir.abdulahovic/caps2esc";
nix-xilinx.url = "gitlab:asmir.abdulahovic/nix-xilinx"; nix-xilinx = {
peerix.url = "gitlab:asmir.abdulahovic/peerix"; url = "gitlab:asmir.abdulahovic/nix-xilinx";
inputs.nixpkgs.follows = "nixpkgs";
};
peerix = {
url = "gitlab:asmir.abdulahovic/peerix";
inputs.nixpkgs.follows = "nixpkgs";
};
zremap = { zremap = {
url = "gitlab:asmir.abdulahovic/zremap"; url = "gitlab:asmir.abdulahovic/zremap";
@ -25,7 +32,6 @@
outputs = inputs @ { outputs = inputs @ {
nixpkgs, nixpkgs,
caps2esc,
home-manager, home-manager,
nix-xilinx, nix-xilinx,
peerix, peerix,
@ -40,9 +46,9 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
{_module.args = inputs;} {_module.args = inputs;}
./configuration.nix ./nixy/configuration.nix
./nixy/hardware-configuration.nix
./packages.nix ./packages.nix
./hardware-configuration.nix
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {