This commit is contained in:
Dmitri 2025-10-04 13:40:54 +02:00
parent 19ba4a6a09
commit 9ba924955f
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
2 changed files with 32 additions and 58 deletions

View File

@ -62,32 +62,7 @@
isNormalUser = true;
description = "user";
extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; [
firefox
nextcloud-client
keepassxc
signal-desktop
luarocks
python3
unzip
wget
go
nodejs
tree-sitter
gcc
ripgrep
fd
cargo
texliveFull
jdk21
eza
zoxide
fzf
docker-compose
btop
freecad
orca-slicer
];
packages = with pkgs; [ ];
};
users.extraUsers.user = { shell = pkgs.zsh; };
@ -145,14 +120,6 @@
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [ git neovim ];
environment = {
variables = {
JAVA_HOME = "${pkgs.jdk21}/lib/openjdk";
GTK_THEME = "Adwaita:dark";
XCURSOR_THEME = "Bibata-Modern-Clasic";
};
};
system = {
stateVersion = "25.05";
autoUpgrade = {
@ -167,10 +134,4 @@
options = "--delete-older-than 30d";
};
# home-manager = {
# extraSpecialArgs = { inherit input; };
# users = { "user" = import ./home.nix; };
# };
# home-manager.users.user = import ./home.nix;
}

View File

@ -15,7 +15,33 @@
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [ librewolf ];
home.packages = with pkgs; [
librewolf
firefox
nextcloud-client
keepassxc
signal-desktop
luarocks
python3
unzip
wget
go
nodejs
tree-sitter
gcc
ripgrep
fd
cargo
texliveFull
jdk21
eza
zoxide
fzf
docker-compose
btop
freecad
orca-slicer
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
@ -32,24 +58,11 @@
# '';
};
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. These will be explicitly sourced when using a
# shell provided by Home Manager. If you don't want to manage your shell
# through Home Manager then you have to manually source 'hm-session-vars.sh'
# located at either
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/user/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
# EDITOR = "emacs";
EDITOR = "nvim";
JAVA_HOME = "${pkgs.jdk21}/lib/openjdk";
GTK_THEME = "Adwaita:dark";
XCURSOR_THEME = "Bibata-Modern-Clasic";
};
# Let Home Manager install and manage itself.