poseidon: enable home-manager
This commit is contained in:
parent
3ae7ab21bc
commit
3384c77a2d
15
flake.nix
15
flake.nix
|
@ -35,9 +35,24 @@
|
||||||
nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
|
nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules =
|
modules =
|
||||||
|
let
|
||||||
|
unstablePkgs = import nixpkgs-unstable { inherit system; };
|
||||||
|
in
|
||||||
[
|
[
|
||||||
./poseidon.nix
|
./poseidon.nix
|
||||||
|
|
||||||
|
({ config, utils, ... }: home-manager.nixosModules.home-manager {
|
||||||
|
pkgs = unstablePkgs;
|
||||||
|
lib = unstablePkgs.lib;
|
||||||
|
inherit config utils;
|
||||||
|
})
|
||||||
|
{
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.users.alarsyo = import ./home;
|
||||||
|
home-manager.verbose = true;
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.overlays =
|
nixpkgs.overlays =
|
||||||
let
|
let
|
||||||
|
|
|
@ -10,6 +10,8 @@ in
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
./home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
|
7
hosts/poseidon/home.nix
Normal file
7
hosts/poseidon/home.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
home-manager.users.alarsyo = {
|
||||||
|
my.home.tmux.enable = true;
|
||||||
|
my.home.fish.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue