move things to common

This commit is contained in:
smayzy 2025-06-28 14:20:28 +00:00
parent b80bbe97dc
commit 86ed9ea42c
2 changed files with 59 additions and 48 deletions

58
hosts/common/common.nix Normal file
View File

@ -0,0 +1,58 @@
{ inputs, config, pkgs, lib, ... }:
{
imports =
[
inputs.home-manager.nixosModules.home-manager
../../modules/nix/pipewire.nix
../../modules/nix/locales.nix
../../modules/nix/grub.nix
../../modules/nix/nvf.nix
../../modules/nix/nh.nix
];
users.users.smayzy = {
isNormalUser = true;
description = "smayzy";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
};
environment.systemPackages = with pkgs; [
home-manager
wget
kitty
tldr
fastfetch
tree
font-awesome
dig
btop
thunderbird
lf
fzf
file
qalculate-qt
baobab
arduino-ide
piper
element-desktop
calibre
vlc
loupe
gimp3
mullvad-vpn
libreoffice-qt6-still
hunspellDicts.fr-any
base16-schemes
tor
wireshark
tshark
freecad-wayland
aegisub
audacity
mpv
vim
];
}

View File

@ -3,15 +3,9 @@
{
imports =
[
../common/common.nix
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
../../modules/nix/pipewire.nix
../../modules/nix/locales.nix
../../modules/nix/nvidia.nix
../../modules/nix/grub.nix
../../modules/nix/nvf.nix
../../modules/nix/nh.nix
];
home-manager = {
@ -38,13 +32,6 @@
networking.hostName = "desktop1";
networking.networkmanager.enable = true;
users.users.smayzy = {
isNormalUser = true;
description = "smayzy";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
};
users.defaultUserShell = pkgs.zsh;
services.xserver.xkb = {
@ -78,12 +65,6 @@
programs.steam.enable = true;
environment.systemPackages = with pkgs; [
home-manager
wget
kitty
tldr
fastfetch
tree
mako
wofi
wlogout
@ -91,47 +72,19 @@
wl-clipboard
libnotify
hyprpaper
font-awesome
dig
btop
webcord
pavucontrol
thunderbird
lf
fzf
qemu
cliphist
file
obsidian
qalculate-qt
baobab
arduino-ide
piper
samrewritten
element-desktop
calibre
vlc
loupe
gimp3
mullvad-vpn
libsForQt5.kdenlive
prismlauncher
floorp
libreoffice-qt6-still
hunspellDicts.fr-any
base16-schemes
tor
wireshark
tshark
komikku
librewolf
freecad-wayland
aegisub
blender
inkscape
audacity
mpv
vim
];
stylix.enable = true;