forked from nyanloutre/nixos-config
pysmart in unstable branch
This commit is contained in:
parent
6a92795907
commit
c49431f175
17
flake.lock
generated
17
flake.lock
generated
@ -34,22 +34,6 @@
|
|||||||
"type": "indirect"
|
"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": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1635792138,
|
"lastModified": 1635792138,
|
||||||
@ -99,7 +83,6 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"dogetipbot-telegram": "dogetipbot-telegram",
|
"dogetipbot-telegram": "dogetipbot-telegram",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-nyanloutre-pysmart": "nixpkgs-nyanloutre-pysmart",
|
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"simple-nixos-mailserver": "simple-nixos-mailserver"
|
"simple-nixos-mailserver": "simple-nixos-mailserver"
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,11 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "flake:nixpkgs/nixos-21.05";
|
nixpkgs.url = "flake:nixpkgs/nixos-21.05";
|
||||||
nixpkgs-unstable.url = "flake:nixpkgs/nixos-unstable";
|
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";
|
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.05";
|
||||||
dogetipbot-telegram.url = "gitlab:nyanloutre/dogetipbot-telegram/master";
|
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 {
|
nixosConfigurations.loutreos = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
@ -27,7 +26,7 @@
|
|||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
path = with pkgs;[ ipmitool smartmontools ];
|
path = with pkgs;[ ipmitool smartmontools ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = with nixpkgs-nyanloutre-pysmart.legacyPackages.x86_64-linux;
|
ExecStart = with nixpkgs-unstable.legacyPackages.x86_64-linux;
|
||||||
let env = python3Packages.python.buildEnv.override {
|
let env = python3Packages.python.buildEnv.override {
|
||||||
extraLibs = with python3Packages;[ pysmart ];
|
extraLibs = with python3Packages;[ pysmart ];
|
||||||
ignoreCollisions = true;
|
ignoreCollisions = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user