try enabling home-manager in tartars

This commit is contained in:
Osman Faruk Bayram 2024-12-17 13:12:23 +03:00
parent bd564a3287
commit a2e03c12c6
3 changed files with 34 additions and 0 deletions

View file

@ -35,6 +35,7 @@
vscode-server,
sops-nix,
osbm-nvim,
home-manager,
...
}: {
nixosConfigurations = let
@ -51,6 +52,7 @@
./hosts/tartarus/configuration.nix
vscode-server.nixosModules.default
sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager
];
specialArgs = {
inherit pkgs-unstable system-label osbm-nvim;

27
home.nix Normal file
View file

@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "osbm";
home.homeDirectory = "/home/osbm";
# Packages that should be installed to the user profile.
home.packages = [
pkgs.htop
pkgs.fortune
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "24.11";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

View file

@ -30,6 +30,11 @@
services.vscode-server.enable = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.osbm = import ./home.nix;
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = ["osbm"];