moved home manager to module

This commit is contained in:
MichaelFisher1997 2025-05-11 00:26:20 +01:00
parent a8806808f1
commit 08fd509efb
3 changed files with 20 additions and 0 deletions

View File

@ -11,6 +11,7 @@
};
home.packages = with pkgs; [
jdk8
# neovim
# firefox
# ripgrep

View File

@ -15,6 +15,7 @@
./networking.nix
./gpu.nix
./sunshine.nix
./home-manager.nix
#./i3.nix
];

View File

@ -0,0 +1,18 @@
{ config, pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
imports = [
(import "${home-manager}/nixos")
];
home-manager.users.my_username = {
/* The home.stateVersion option does not have a default and must be set */
home.username = "micqdf";
home.homeDirectory = "/home/micqdf";
home.stateVersion = "24.11";
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
home.packages = [ pkgs.jdk8 ];
};
}