From 2b6fa032d1700b2449a86ad0d2610625770a0dfd Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 22:09:30 +0900 Subject: [PATCH] test --- flake.nix | 7 ++----- home-manager/default.nix | 7 ------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index 16a3a97c..15e3b186 100644 --- a/flake.nix +++ b/flake.nix @@ -23,11 +23,8 @@ nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; }; }; homeConfigurations = { - "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; }; - "root@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "root"; desktop = "gnome"; }; - - "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; }; - "root@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "root"; desktop = "gnome"; }; + "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; }; + "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; }; }; }; } \ No newline at end of file diff --git a/home-manager/default.nix b/home-manager/default.nix index bb9980b1..4db8d445 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -6,13 +6,6 @@ homeDirectory = "/home/${username}"; sessionPath = [ "$HOME/.local/bin" ]; }; - - home.root = { - inherit username; - stateVersion = hmStateVersion; - homeDirectory = "/root"; - sessionPath = [ "$HOME/.local/bin" ]; - }; imports = [ # Common app configs - Will apply to all users managed by home-manager