Fix portable home-manager profiles

This commit is contained in:
MaeIsBad 2022-11-23 09:41:54 +01:00
parent bb616f3315
commit 38b4bd6adb
3 changed files with 58 additions and 23 deletions

View file

@ -20,6 +20,21 @@
"type": "github" "type": "github"
} }
}, },
"blank": {
"locked": {
"lastModified": 1625557891,
"narHash": "sha256-O8/MWsPBGhhyPoPLHZAuoZiiHo9q6FLlEeIDEXuj6T4=",
"owner": "divnix",
"repo": "blank",
"rev": "5a5d2684073d9f563072ed07c871d577a6c614a8",
"type": "github"
},
"original": {
"owner": "divnix",
"repo": "blank",
"type": "github"
}
},
"darwin": { "darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -110,6 +125,7 @@
}, },
"digga": { "digga": {
"inputs": { "inputs": {
"blank": "blank",
"darwin": "darwin_2", "darwin": "darwin_2",
"deploy": [ "deploy": [
"deploy" "deploy"
@ -120,6 +136,7 @@
"home-manager": [ "home-manager": [
"home" "home"
], ],
"latest": "latest",
"nixlib": [ "nixlib": [
"nixos" "nixos"
], ],
@ -131,15 +148,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1668250948, "lastModified": 1659623226,
"narHash": "sha256-qqyzJQHgb/Bgq3Zxwa0gmaDEpkuyVhvynnq6a0akMWw=", "narHash": "sha256-ewEjGFjQf37ymcqBoO8q2SrvfKGgm8nW91NJ+0NQufw=",
"owner": "divnix", "owner": "divnix",
"repo": "digga", "repo": "digga",
"rev": "54ede8e591d288c176a09d6fcf4b123896c0bf0f", "rev": "34877733b78cb9e8a1345328a7e1a380101bee41",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "divnix", "owner": "divnix",
"ref": "home-manager-22.11",
"repo": "digga", "repo": "digga",
"type": "github" "type": "github"
} }
@ -150,11 +168,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1669012127, "lastModified": 1669098469,
"narHash": "sha256-fTvPcUlzrxAqMMivJgnV6AjYRPd6+Yz+hnLTs0AF+EM=", "narHash": "sha256-7c+SHudkWvquFy66KIj+K48LbCMUxU9313DWIsQVBck=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "fa7082d03914c5bf0f15acda849f34d048953ed5", "rev": "4597d578b8da5d43ce8cf7cd757bec238dc00ea2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -346,11 +364,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1668900402, "lastModified": 1669071065,
"narHash": "sha256-IhVlueHoQNoN0SOHZIceKU3LyEL00g2ei0aUlaNypbQ=", "narHash": "sha256-KBpgj3JkvlPsJ3duOZqFJe6tgr+wc75t8sFmgRbBSbw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c0f9cbcf93ca22e4f0ca66843be61a4bdf6f0a44", "rev": "f7641a3ff398ccce952e19a199d775934e518c1d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -377,11 +395,27 @@
}, },
"latest": { "latest": {
"locked": { "locked": {
"lastModified": 1669019068, "lastModified": 1668994630,
"narHash": "sha256-L8TFuvYyrHjkViZufh83qfDHdVjyqcKbulTkbE0JBkU=", "narHash": "sha256-1lqx6HLyw6fMNX/hXrrETG1vMvZRGm2XVC9O/Jt0T6c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "73eab78fd8ece416345ddfa7595cd959e0a45515", "rev": "af50806f7c6ab40df3e6b239099e8f8385f6c78b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"latest_2": {
"locked": {
"lastModified": 1669114045,
"narHash": "sha256-+/siFvmpRER84gdKV/KG3nKYD1lnjK50LeMmusL+eyE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "758e5af4cd3e9d73d4f94fec1e2b02130e04c727",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -432,11 +466,11 @@
}, },
"nixos": { "nixos": {
"locked": { "locked": {
"lastModified": 1668905981, "lastModified": 1668994630,
"narHash": "sha256-RBQa/+9Uk1eFTqIOXBSBezlEbA3v5OkgP+qptQs1OxY=", "narHash": "sha256-1lqx6HLyw6fMNX/hXrrETG1vMvZRGm2XVC9O/Jt0T6c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "690ffff026b4e635b46f69002c0f4e81c65dfc2e", "rev": "af50806f7c6ab40df3e6b239099e8f8385f6c78b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -463,11 +497,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1668905981, "lastModified": 1668994630,
"narHash": "sha256-RBQa/+9Uk1eFTqIOXBSBezlEbA3v5OkgP+qptQs1OxY=", "narHash": "sha256-1lqx6HLyw6fMNX/hXrrETG1vMvZRGm2XVC9O/Jt0T6c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "690ffff026b4e635b46f69002c0f4e81c65dfc2e", "rev": "af50806f7c6ab40df3e6b239099e8f8385f6c78b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -587,7 +621,7 @@
"fenix": "fenix", "fenix": "fenix",
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"home": "home", "home": "home",
"latest": "latest", "latest": "latest_2",
"naersk": "naersk", "naersk": "naersk",
"nixgl": "nixgl", "nixgl": "nixgl",
"nixos": "nixos", "nixos": "nixos",
@ -617,11 +651,11 @@
}, },
"stable": { "stable": {
"locked": { "locked": {
"lastModified": 1668908668, "lastModified": 1668984258,
"narHash": "sha256-oimCE4rY7Btuo/VYmA8khIyTHSMV7qUWTpz9w8yc9LQ=", "narHash": "sha256-0gDMJ2T3qf58xgcSbYoXiRGUkPWmKyr5C3vcathWhKs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b68a6a27adb452879ab66c0eaac0c133e32823b2", "rev": "cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -10,7 +10,7 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
digga.url = "github:divnix/digga"; digga.url = "github:divnix/digga/home-manager-22.11";
digga.inputs.nixpkgs.follows = "nixos"; digga.inputs.nixpkgs.follows = "nixos";
digga.inputs.nixpkgs-unstable.follows = "latest"; digga.inputs.nixpkgs-unstable.follows = "latest";
digga.inputs.nixlib.follows = "nixos"; digga.inputs.nixlib.follows = "nixos";

View file

@ -1,5 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ ../profiles/core ../profiles/direnv ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/tmux ../profiles/mpv ../profiles/sway ]; imports = [ ../profiles/core ../profiles/direnv ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/tmux ../profiles/mpv ../profiles/sway ];
home.stateVersion = "22.11";
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
home.packages = [ pkgs.home-manager ]; home.packages = [ pkgs.home-manager ];
wayland.windowManager.sway.extraSessionCommands = '' wayland.windowManager.sway.extraSessionCommands = ''