aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-10-26 23:39:33 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-10-26 23:39:33 +0530
commitb0d6c3079183602e5d010f958f370570d069a157 (patch)
tree56b0a3fd602d916270d1e4473dbe12bcfae4b3cb /flake.nix
parent9aa0070e137ac3e2b90284ed82f1751a601e18e1 (diff)
home manager symlink + vlc + screen recorder (incomplete)
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 66754e2..0df229c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,6 +15,7 @@
system = "x86_64-linux";
username = "aargh";
hostname = "pegasus";
+ symlinkRoot = self;
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
@@ -26,7 +27,7 @@
in {
nixosConfigurations.main = nixpkgs.lib.nixosSystem {
inherit system;
- specialArgs = { inherit inputs username hostname unstable; };
+ specialArgs = { inherit inputs username hostname unstable symlinkRoot; };
modules = [
./nixos/configuration.nix
@@ -34,7 +35,7 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
- home-manager.extraSpecialArgs = { inherit username unstable; };
+ home-manager.extraSpecialArgs = { inherit username unstable symlinkRoot; };
home-manager.backupFileExtension = "hm-backup";
home-manager.users.${username} = import ./home-manager/home.nix;
}