add git module
This commit is contained in:
parent
63d9c50b5e
commit
03ea8da475
7 changed files with 46 additions and 45 deletions
|
|
@ -1,40 +0,0 @@
|
||||||
{
|
|
||||||
self,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
mods = with self.nixosModules; [
|
|
||||||
user
|
|
||||||
packages
|
|
||||||
agenix
|
|
||||||
boot
|
|
||||||
core
|
|
||||||
easyroam
|
|
||||||
myStylix
|
|
||||||
stylixTargets
|
|
||||||
/etc/nixos/hardware-configuration.nix
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
|
||||||
modules =
|
|
||||||
with self.nixosModules;
|
|
||||||
[
|
|
||||||
{
|
|
||||||
config.dualBoot = true;
|
|
||||||
config.networking.hostName = "nerv";
|
|
||||||
}
|
|
||||||
]
|
|
||||||
++ mods;
|
|
||||||
};
|
|
||||||
flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem {
|
|
||||||
modules = [
|
|
||||||
{
|
|
||||||
config.networking.hostName = "seele";
|
|
||||||
}
|
|
||||||
]
|
|
||||||
++ mods;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -5,14 +5,19 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
mods = with self.nixosModules; [
|
mods = with self.nixosModules; [
|
||||||
user
|
|
||||||
packages
|
|
||||||
agenix
|
agenix
|
||||||
boot
|
boot
|
||||||
core
|
core
|
||||||
easyroam
|
easyroam
|
||||||
|
git
|
||||||
myStylix
|
myStylix
|
||||||
|
packages
|
||||||
|
pipewire
|
||||||
|
programs
|
||||||
stylixTargets
|
stylixTargets
|
||||||
|
tlp
|
||||||
|
user
|
||||||
|
zsh
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
systemd.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
window-padding-x = 15;
|
window-padding-x = 15;
|
||||||
window-padding-y = 15;
|
window-padding-y = 15;
|
||||||
|
|
|
||||||
9
modules/home/programs/git.nix
Normal file
9
modules/home/programs/git.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.homeModules.git = {
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "lucy";
|
||||||
|
userEmail = "lucykaufmann@protonmail.com";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
{ inputs, self, ... }: {
|
{ inputs, self, ... }: {
|
||||||
flake.nixosModules.user = {
|
flake.nixosModules.user = { pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
users.users."lucy" = {
|
users.users."lucy" = {
|
||||||
|
shell = pkgs.zsh;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "lucy";
|
description = "lucy";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,11 @@
|
||||||
flake.nixosModules.myStylix = { pkgs, ... }: {
|
flake.nixosModules.myStylix = { pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
|
stylix_fonts
|
||||||
];
|
];
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
25
modules/system/stylix/fonts.nix
Normal file
25
modules/system/stylix/fonts.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.stylix_fonts = { pkgs, ... }: {
|
||||||
|
stylix.fonts = {
|
||||||
|
serif = {
|
||||||
|
package = config.stylix.fonts.monospace.package;
|
||||||
|
name = config.stylix.fonts.monospace.name;
|
||||||
|
};
|
||||||
|
|
||||||
|
sansSerif = {
|
||||||
|
package = config.stylix.fonts.monospace.package;
|
||||||
|
name = config.stylix.fonts.monospace.name;
|
||||||
|
};
|
||||||
|
|
||||||
|
monospace = {
|
||||||
|
package = pkgs.iosevka;
|
||||||
|
name = "DejaVu Sans Mono";
|
||||||
|
};
|
||||||
|
|
||||||
|
emoji = {
|
||||||
|
package = pkgs.noto-fonts-color-emoji;
|
||||||
|
name = "Noto Color Emoji";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue