pysmart in unstable branch

This commit is contained in:
nyanloutre 2021-11-02 18:06:07 +01:00
parent 6a92795907
commit c49431f175
2 changed files with 2 additions and 20 deletions

View File

@ -34,22 +34,6 @@
"type": "indirect"
}
},
"nixpkgs-nyanloutre-pysmart": {
"locked": {
"lastModified": 1634908616,
"narHash": "sha256-JoJyEZKpTOHc6NMH76l8Jg/0QrMSEQsX0PtZXVtnCpA=",
"owner": "nyanloutre",
"repo": "nixpkgs",
"rev": "9b2bd68adc2455180887d952ce204ae69dfd651e",
"type": "github"
},
"original": {
"owner": "nyanloutre",
"ref": "pysmart-init",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1635792138,
@ -99,7 +83,6 @@
"inputs": {
"dogetipbot-telegram": "dogetipbot-telegram",
"nixpkgs": "nixpkgs_2",
"nixpkgs-nyanloutre-pysmart": "nixpkgs-nyanloutre-pysmart",
"nixpkgs-unstable": "nixpkgs-unstable",
"simple-nixos-mailserver": "simple-nixos-mailserver"
}

View File

@ -2,12 +2,11 @@
inputs = {
nixpkgs.url = "flake:nixpkgs/nixos-21.05";
nixpkgs-unstable.url = "flake:nixpkgs/nixos-unstable";
nixpkgs-nyanloutre-pysmart.url = "github:nyanloutre/nixpkgs/pysmart-init";
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.05";
dogetipbot-telegram.url = "gitlab:nyanloutre/dogetipbot-telegram/master";
};
outputs = { self, nixpkgs, nixpkgs-unstable, simple-nixos-mailserver, dogetipbot-telegram, nixpkgs-nyanloutre-pysmart }: {
outputs = { self, nixpkgs, nixpkgs-unstable, simple-nixos-mailserver, dogetipbot-telegram }: {
nixosConfigurations.loutreos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
@ -27,7 +26,7 @@
wantedBy = ["multi-user.target"];
path = with pkgs;[ ipmitool smartmontools ];
serviceConfig = {
ExecStart = with nixpkgs-nyanloutre-pysmart.legacyPackages.x86_64-linux;
ExecStart = with nixpkgs-unstable.legacyPackages.x86_64-linux;
let env = python3Packages.python.buildEnv.override {
extraLibs = with python3Packages;[ pysmart ];
ignoreCollisions = true;