refactor: make nanuqsaurus module-based; keep btrfs install profile
This commit is contained in:
parent
e640b43b2f
commit
bb138278f1
13 changed files with 218 additions and 173 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
description = "Home Manager configuration of admin";
|
||||
description = "Home Manager configuration of @ADMIN_USER@";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, nix-flatpak, ... }: {
|
||||
homeConfigurations."admin" = home-manager.lib.homeManagerConfiguration {
|
||||
homeConfigurations."@ADMIN_USER@" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
modules = [
|
||||
nix-flatpak.homeManagerModules.nix-flatpak
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
}:
|
||||
|
||||
{
|
||||
home.username = "admin";
|
||||
home.homeDirectory = "/home/admin";
|
||||
home.username = "@ADMIN_USER@";
|
||||
home.homeDirectory = "/home/@ADMIN_USER@";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
|
||||
[no-cd]
|
||||
switch:
|
||||
home-manager switch --flake ~/.config/home-manager#$USER
|
||||
home-manager switch --flake ~/.config/home-manager#$USER
|
||||
|
||||
[no-cd]
|
||||
rebuild:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue