Compare commits
2 commits
d15039bc13
...
a52e147e5e
Author | SHA1 | Date | |
---|---|---|---|
Victor Mignot | a52e147e5e | ||
Victor Mignot | 0380a6f5d4 |
18
flake.lock
18
flake.lock
|
@ -204,11 +204,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722321190,
|
"lastModified": 1722462338,
|
||||||
"narHash": "sha256-WeVWVRqkgrbLzmk6FfJoloJ7Xe7HWD27Pv950IUG2kI=",
|
"narHash": "sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4fcd54df7cbb1d79cbe81209909ee8514d6b17a4",
|
"rev": "6e090576c4824b16e8759ebca3958c5b09659ee8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -346,11 +346,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722221733,
|
"lastModified": 1722372011,
|
||||||
"narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
|
"narHash": "sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "12bf09802d77264e441f48e25459c10c93eada2e",
|
"rev": "cf05eeada35e122770c5c14add958790fcfcbef5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -378,11 +378,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722185531,
|
"lastModified": 1722421184,
|
||||||
"narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
|
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
|
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
33
flake.nix
33
flake.nix
|
@ -114,10 +114,37 @@
|
||||||
} // machinesNodes;
|
} // machinesNodes;
|
||||||
|
|
||||||
formatter = builtins.listToAttrs (
|
formatter = builtins.listToAttrs (
|
||||||
map (system: {
|
map (
|
||||||
|
system:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgsVersions.unstable { inherit system; };
|
||||||
|
in
|
||||||
|
{
|
||||||
name = system;
|
name = system;
|
||||||
value = nixpkgsVersions.unstable.legacyPackages.${system}.nixfmt-rfc-style;
|
value = pkgs.nixfmt-rfc-style;
|
||||||
}) flake-utils.lib.defaultSystems
|
}
|
||||||
|
) flake-utils.lib.defaultSystems
|
||||||
|
);
|
||||||
|
|
||||||
|
devShells = builtins.listToAttrs (
|
||||||
|
map (
|
||||||
|
system:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgsVersions.unstable { inherit system; };
|
||||||
|
in
|
||||||
|
{
|
||||||
|
name = system;
|
||||||
|
value.default = pkgs.mkShell {
|
||||||
|
name = "Nix development environment";
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
colmena
|
||||||
|
nixfmt-rfc-style
|
||||||
|
nil
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
) flake-utils.lib.defaultSystems
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue