add home-manager-utils

This commit is contained in:
Ingolf Wagner 2021-09-29 22:42:48 +02:00
parent 37592951e8
commit af90a0934b
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 57 additions and 11 deletions

View file

@ -250,6 +250,26 @@
"type": "github"
}
},
"home-manager-utils": {
"inputs": {
"home-manager": [
"home-manager"
]
},
"locked": {
"lastModified": 1632947926,
"narHash": "sha256-dgHY+6K7i+5R8g2/VISn4rBGxyRjSVEdPS41YQltjWI=",
"owner": "mrvandalo",
"repo": "home-manager-utils",
"rev": "dcf13bd1633d5225e278d6dafcdecbf37c3726a4",
"type": "github"
},
"original": {
"owner": "mrvandalo",
"repo": "home-manager-utils",
"type": "github"
}
},
"krops-lib": {
"flake": false,
"locked": {
@ -316,6 +336,20 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1632855891,
"narHash": "sha256-crW76mt9/kbUBiKy/KiSnsQ9JEYgD3StDuYAMVkTbM0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "73086069ebd402e85eaa39c06aef33c2b917f532",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1625223284,
"narHash": "sha256-jjLcDSU1rRiJb+n3uez23XAa7kbnPcGZTa6jIKh1GMQ=",
@ -430,9 +464,7 @@
"polygon-art": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
]
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1632864707,
@ -470,6 +502,7 @@
"cluster-module": "cluster-module",
"doom-emacs-nix": "doom-emacs-nix",
"home-manager": "home-manager",
"home-manager-utils": "home-manager-utils",
"krops-lib": "krops-lib",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
@ -495,14 +528,14 @@
},
"sops-nix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1632832687,
"narHash": "sha256-y7Us3d32vJl2TRQXUDQqSmLIP+k2z1Sn4vTaKL7VE44=",
"lastModified": 1632896262,
"narHash": "sha256-eglwV73HOaeCWOSyUSw2/OHISefMevk1814jENZymNw=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "8c5c313b562edee5a6ec2e118256a72710cc08b2",
"rev": "ae84c313c5250a832d61dae9e1e659b27542c47b",
"type": "github"
},
"original": {

View file

@ -5,7 +5,6 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
polygon-art = {
#url = "path:/home/palo/dev/polygon-art";
url = "git+https://git.ingolf-wagner.de/palo/polygon-art.git";
#inputs.nixpkgs.follows = "nixpkgs";
};
@ -17,6 +16,10 @@
url = "github:nix-community/home-manager/release-21.05";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager-utils = {
url = "github:mrvandalo/home-manager-utils";
inputs.home-manager.follows = "home-manager";
};
backup-module = {
url = "git+https://git.ingolf-wagner.de/nix-modules/backup.git";
flake = false;
@ -32,7 +35,7 @@
};
};
outputs = { self, sops-nix, nixpkgs, home-manager, doom-emacs-nix
outputs = { self, sops-nix, nixpkgs, home-manager, home-manager-utils, doom-emacs-nix
, backup-module, nixpkgs-unstable, krops-lib, cluster-module, polygon-art, ... }:
let
@ -64,7 +67,10 @@
home-manager.nixosModules.home-manager
{
home-manager.users.mainUser = {
imports = [ doom-emacs-nix.hmModule ];
imports = [
doom-emacs-nix.hmModule
home-manager-utils.hmModule
];
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;

View file

@ -11,7 +11,6 @@ in {
landingpage = callPackage ./landingpage { };
light-control = callPackage ./light-control { };
otpmenu = callPackage ./otpmenu { };
#polygon-art = super.callPackage ./polygon-art { };
sononym = callPackage ./sononym { };
sononym-crawler = callPackage ./sononym-crawler { };
taskwarrior-hooks = callPackage ./taskwarrior-hooks { };

View file

@ -40,6 +40,14 @@ in {
home-manager.users.mainUser = {
home.git-pull.enable = true;
home.git-pull.repositories = [
{
source = "git@github.com:mrVanDalo/home-manager-utils.git";
target = "~/dev/home-manager-utils";
}
];
home.file.".config/bugwarrior/bugwarriorrc".text = ''
[general]
targets = terranix