mirror of
https://github.com/MichaelFisher1997/nixos.git
synced 2025-06-15 01:53:11 +00:00
moved home manager to module
This commit is contained in:
parent
a8806808f1
commit
08fd509efb
@ -11,6 +11,7 @@
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
jdk8
|
||||
# neovim
|
||||
# firefox
|
||||
# ripgrep
|
||||
|
@ -15,6 +15,7 @@
|
||||
./networking.nix
|
||||
./gpu.nix
|
||||
./sunshine.nix
|
||||
./home-manager.nix
|
||||
#./i3.nix
|
||||
];
|
||||
|
||||
|
18
hosts/hypr-nix/home-manager.nix
Normal file
18
hosts/hypr-nix/home-manager.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user