From 4eaf76cf1e0af9ec7a630320bb7d4956041dd03e Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 4 May 2023 18:17:38 +0200 Subject: Structure(treewide): Use new structure with home-manager home-manager enables great possibilities and is part of simplifying the structure of my config. --- users/default.nix | 7 +++++++ users/sils/default.nix | 14 ++++++++++++++ users/sils/packages/default.nix | 6 ++++++ 3 files changed, 27 insertions(+) create mode 100644 users/default.nix create mode 100644 users/sils/default.nix create mode 100644 users/sils/packages/default.nix (limited to 'users') diff --git a/users/default.nix b/users/default.nix new file mode 100644 index 0000000..23d6e96 --- /dev/null +++ b/users/default.nix @@ -0,0 +1,7 @@ +{ + nixpkgs, + system, + ... +}: { + sils = import ./sils {inherit nixpkgs system;}; +} diff --git a/users/sils/default.nix b/users/sils/default.nix new file mode 100644 index 0000000..5240fa9 --- /dev/null +++ b/users/sils/default.nix @@ -0,0 +1,14 @@ +{ + pkgs, + system, + ... +}: { + imports = [./packages]; + + home = { + username = "sils"; + homeDirectory = "/home/sils"; + stateVersion = "23.05"; + }; + programs.home-manager.enable = true; +} diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix new file mode 100644 index 0000000..103e978 --- /dev/null +++ b/users/sils/packages/default.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + home.packages = [ + pkgs.styx + pkgs.cmatrix + ]; +} -- cgit 1.4.1