parent
ec64915052
commit
78fcd6778c
63
flake.lock
63
flake.lock
@ -23,28 +23,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"swhkd",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713680591,
|
||||
"narHash": "sha256-3pbv7UgAgetwz9YdjzIT/lZ6Rgj6wj6MR4mphBLyDjU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "19aaa94a73cc670a4d87e84f0909966cd8f8cd79",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"locked": {
|
||||
"lastModified": 1696426674,
|
||||
@ -383,46 +361,7 @@
|
||||
"hosts": "hosts",
|
||||
"ide": "ide",
|
||||
"nid": "nid",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"swhkd": "swhkd"
|
||||
}
|
||||
},
|
||||
"rust-analyzer-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1713628977,
|
||||
"narHash": "sha256-iN5QUlUq527lswmBC+RopfXdu6Xx7mmTaBSH2l59FtM=",
|
||||
"owner": "rust-lang",
|
||||
"repo": "rust-analyzer",
|
||||
"rev": "55d9a533b309119c8acd13061581b43ae8840823",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rust-lang",
|
||||
"ref": "nightly",
|
||||
"repo": "rust-analyzer",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"swhkd": {
|
||||
"inputs": {
|
||||
"fenix": "fenix",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713698517,
|
||||
"narHash": "sha256-2YwCSPvKXasQdcuupt1MlMVoBRXorICEd/4k8593N24=",
|
||||
"owner": "ivandimitrov8080",
|
||||
"repo": "swhkd",
|
||||
"rev": "b1fa0b9a40d7ac90984971125954318f4c3479b8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ivandimitrov8080",
|
||||
"repo": "swhkd",
|
||||
"type": "github"
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
20
flake.nix
20
flake.nix
@ -13,31 +13,23 @@
|
||||
url = "github:ivandimitrov8080/flake-ide";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
swhkd = {
|
||||
url = "github:ivandimitrov8080/swhkd";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nid = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, hosts, ide, swhkd, nid, ... }:
|
||||
outputs = { self, nixpkgs, home-manager, hosts, ide, nid, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
overlays = [
|
||||
(
|
||||
self: super: {
|
||||
my-overlay = self: super: {
|
||||
scripts = (super.buildEnv { name = "scripts"; paths = [ ./. ]; });
|
||||
swhkd = swhkd.overlays.${system}.default;
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
pkgs = import nixpkgs {
|
||||
inherit system overlays;
|
||||
inherit system;
|
||||
overlays = [ my-overlay ];
|
||||
};
|
||||
modules = import ./modules {
|
||||
inherit system nixpkgs pkgs ide;
|
||||
inherit system nixpkgs pkgs ide my-overlay;
|
||||
};
|
||||
home = import ./home {
|
||||
inherit system pkgs modules home-manager nid;
|
||||
|
Loading…
Reference in New Issue
Block a user