Skip to content

Commit

Permalink
home update (1st draft)
Browse files Browse the repository at this point in the history
  • Loading branch information
MobSenpai committed Aug 19, 2023
1 parent a483ac4 commit 677b66c
Show file tree
Hide file tree
Showing 39 changed files with 43 additions and 33 deletions.
11 changes: 9 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,18 @@

homeConfigurations = {
# PC
"yashraj@acer" = home-manager.lib.homeManagerConfiguration {
"yuki@acer" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = {inherit inputs outputs;};
modules = [./home/yashraj];
modules = [./home/yashraj/yuki];
};

# Add more modules
# "name@acer" = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages."x86_64-linux";
# extraSpecialArgs = {inherit inputs outputs;};
# modules = [./home/yashraj/name];
# };
};
};
}
26 changes: 0 additions & 26 deletions home/yashraj/default.nix

This file was deleted.

8 changes: 8 additions & 0 deletions home/yashraj/home.nix → home/yashraj/shared/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
outputs,
...
}: {
imports =
[
./colorschemes
./pkgs
./shell
]
++ (builtins.attrValues outputs.homeManagerModules);

systemd.user.startServices = "sd-switch";

manual = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions home/yashraj/shared/services/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
services = {
playerctld.enable = true;
};
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
;
};

services = {
playerctld.enable = true;
};

programs = {
exa.enable = true;
man.enable = true;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions home/yashraj/yuki/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
config,
pkgs,
inputs,
...
}: {
imports = [
# Shared configuration
../shared
../shared/programs/alacritty.nix
../shared/programs/vivaldi.nix
../shared/programs/vscode.nix
../shared/programs/nvim.nix
../shared/programs/neofetch.nix

# Specific configuration
./desktop/wm/awesome
];
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion hosts/shared/users/yashraj.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ in {
packages = [pkgs.home-manager];
};

home-manager.users.yashraj = import ../../../home/yashraj;
# home-manager.users.yashraj = import ../../../home/yashraj/${config.networking.hostName};
home-manager.users.yashraj = import ../../../home/yashraj/yuki;
}

0 comments on commit 677b66c

Please sign in to comment.