Home Gen445 @ 2025-01-30-15:15
This commit is contained in:
parent
64feee52ad
commit
6784eeaa3a
34
flake.nix
34
flake.nix
@ -33,13 +33,10 @@
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
nixos-hardware,
|
||||
home-manager,
|
||||
sops-nix,
|
||||
plasma-manager,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
@ -54,11 +51,7 @@
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
({
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {nixpkgs.overlays = [overlay-unstable];})
|
||||
({...}: {nixpkgs.overlays = [overlay-unstable];})
|
||||
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
||||
./hosts/comfy-station/configuration.nix
|
||||
];
|
||||
@ -79,19 +72,28 @@
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [
|
||||
({
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {nixpkgs.overlays = [overlay-unstable];})
|
||||
(
|
||||
{...}: {nixpkgs.config.allowUnfree = true;}
|
||||
)
|
||||
({...}: {nixpkgs.overlays = [overlay-unstable];})
|
||||
({...}: {nixpkgs.config.allowUnfree = true;})
|
||||
inputs.plasma-manager.homeManagerModules.plasma-manager
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
./home/jonas.nix
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
};
|
||||
homeConfigurations."jroeger" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [
|
||||
({...}: {nixpkgs.overlays = [overlay-unstable];})
|
||||
({...}: {nixpkgs.config.allowUnfree = true;})
|
||||
./home/jroeger.nix
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
|
||||
42
home/jroeger.nix
Normal file
42
home/jroeger.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../modules/home/doom
|
||||
../modules/home/kitty
|
||||
../modules/home/ranger
|
||||
../modules/home/yubikey.nix
|
||||
../modules/home/zsh
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "jroeger";
|
||||
home.homeDirectory = "/home/jroeger";
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
# introduces backwards incompatible changes.
|
||||
#
|
||||
# You should not change this value, even if you update Home Manager. If you do
|
||||
# want to update the value, then make sure to first check the Home Manager
|
||||
# release notes.
|
||||
home.stateVersion = "24.11"; # Please read the comment before changing.
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Git
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Jonas Röger";
|
||||
userEmail = "jonas.kieran.roeger@iml.fraunhofer.de";
|
||||
difftastic.enable = true;
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "4000EB35E1AE0F07";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user