organization on joe, todo gpdpocket3
This commit is contained in:
parent
78f5fe4841
commit
dc9fbdefe2
12 changed files with 219 additions and 148 deletions
22
systems/_common/components/home_manager.nix
Normal file
22
systems/_common/components/home_manager.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, settings, ylib, ... } @ inputs:
|
||||
let
|
||||
home-manager = builtins.fetchTarball {
|
||||
url = "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
|
||||
# to get hash run `nix-prefetch-url --unpack "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz"`
|
||||
sha256 = "0g51f2hz13dk953i501fmc6935difhz60741nypaqwz127hy5ldk";
|
||||
};
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[
|
||||
# home manager import
|
||||
(import "${home-manager}/nixos")
|
||||
];
|
||||
# Home manager options
|
||||
security.polkit.enable = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = { inherit settings; inherit ylib; inherit (inputs) ragenix; inherit (config) age; };
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue