diff options
author | sils <sils@sils.li> | 2023-05-04 18:17:38 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-05-04 18:17:38 +0200 |
commit | 4eaf76cf1e0af9ec7a630320bb7d4956041dd03e (patch) | |
tree | 4073ad033ef5f0939e76bb82a75847b34ca4bba9 /users | |
parent | Chore(flake): Update (diff) | |
download | nix-config-4eaf76cf1e0af9ec7a630320bb7d4956041dd03e.tar.gz nix-config-4eaf76cf1e0af9ec7a630320bb7d4956041dd03e.zip |
Structure(treewide): Use new structure with home-manager
home-manager enables great possibilities and is part of simplifying the structure of my config.
Diffstat (limited to 'users')
-rw-r--r-- | users/default.nix | 7 | ||||
-rw-r--r-- | users/sils/default.nix | 14 | ||||
-rw-r--r-- | users/sils/packages/default.nix | 6 |
3 files changed, 27 insertions, 0 deletions
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 + ]; +} |