Working checkpoint towards unified modules
This commit is contained in:
@@ -44,9 +44,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
# home-manager.extraSpecialArgs = { inherit inputs; };
|
|
||||||
# home-manager.useGlobalPkgs = true;
|
|
||||||
# home-manager.useUserPackages = true;
|
|
||||||
home-manager.users.marc = {
|
home-manager.users.marc = {
|
||||||
imports = [
|
imports = [
|
||||||
./home/modules
|
./home/modules
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty.nix
|
# ./alacritty.nix
|
||||||
./discord.nix
|
./discord.nix
|
||||||
./spotify.nix
|
./spotify.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ in
|
|||||||
|
|
||||||
polybar.enable = true;
|
polybar.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
app.alacritty.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.picom.enable = true;
|
services.picom.enable = true;
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ in
|
|||||||
(nerdfonts.override { fonts = [ "Iosevka" ]; })
|
(nerdfonts.override { fonts = [ "Iosevka" ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile."alacritty".source = ../../../config/.config/alacritty;
|
home.configFile."alacritty".source = ../../config/.config/alacritty;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,8 @@ with lib.my;
|
|||||||
user = mkOpt attrs {};
|
user = mkOpt attrs {};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
file = mkOpt' attrs {} "Files to place directly in $HOME";
|
packages = mkOpt' (listOf package) [] "Packages to be installed at user level";
|
||||||
|
file = mkOpt' attrs {} "Files to place directly in $HOME" ;
|
||||||
configFile = mkOpt' attrs {} "Files to place in $XDG_CONFIG_HOME";
|
configFile = mkOpt' attrs {} "Files to place in $XDG_CONFIG_HOME";
|
||||||
dataFile = mkOpt' attrs {} "Files to place in $XDG_DATA_HOME";
|
dataFile = mkOpt' attrs {} "Files to place in $XDG_DATA_HOME";
|
||||||
};
|
};
|
||||||
@@ -26,12 +27,11 @@ with lib.my;
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
user = let name = "marc"; in {
|
user = {
|
||||||
inherit name;
|
|
||||||
description = "The primary user account";
|
description = "The primary user account";
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/${name}";
|
home = "/home/${config.user.name}";
|
||||||
group = "users";
|
group = "users";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
};
|
};
|
||||||
@@ -44,6 +44,7 @@ with lib.my;
|
|||||||
users.${config.user.name} = {
|
users.${config.user.name} = {
|
||||||
home = {
|
home = {
|
||||||
file = mkAliasDefinitions options.home.file;
|
file = mkAliasDefinitions options.home.file;
|
||||||
|
packages = mkAliasDefinitions options.home.packages;
|
||||||
# Necessary for home-manager to work with flakes, otherwise it will
|
# Necessary for home-manager to work with flakes, otherwise it will
|
||||||
# look for a nixpkgs channel.
|
# look for a nixpkgs channel.
|
||||||
stateVersion = config.system.stateVersion;
|
stateVersion = config.system.stateVersion;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
# - Basic --------------------------------------
|
# - Basic --------------------------------------
|
||||||
|
|
||||||
|
user.name = "marc";
|
||||||
networking.hostName = "reykjavik";
|
networking.hostName = "reykjavik";
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
pciutils
|
pciutils
|
||||||
psmisc
|
psmisc
|
||||||
vim
|
vim
|
||||||
|
zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
# - Other --------------------------------------
|
# - Other --------------------------------------
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ in
|
|||||||
i3lock-blur
|
i3lock-blur
|
||||||
];
|
];
|
||||||
|
|
||||||
|
samfelag.modules.app.alacritty.enable = true;
|
||||||
|
|
||||||
# - Audio ------------------------------------
|
# - Audio ------------------------------------
|
||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user