gamepc: Increase swap to 4GB

Separate installed packages in home-manager
This commit is contained in:
Pim Kunis 2024-11-09 12:49:23 +01:00
parent 87153f15be
commit 14e269c02c
5 changed files with 42 additions and 36 deletions

View file

@ -1,5 +1,4 @@
{
pkgs,
lib,
config,
inputs,
@ -96,38 +95,6 @@
username = "pim";
homeDirectory = "/home/pim";
stateVersion = "23.05";
packages =
(with pkgs; [
jellyfin-media-player
virt-manager
])
++ (with pkgs.unstable; [
attic-client
dbeaver-bin
devenv
bottles-unwrapped
gimp
hexchat
impression
insomnia
keepassxc
krita
libreoffice
# logseq # Has insecure electron dependency
moonlight-qt
nicotine-plus
qFlipper
signal-desktop
strawberry
telegram-desktop
vlc
vorta
wireshark
# nheko # Has insecure olm dependency
handbrake
feishin
]);
};
programs = {

View file

@ -62,7 +62,7 @@
type = "gpt";
partitions = {
primary = {
end = "-1G";
end = "-4G";
content = {
type = "filesystem";
format = "ext4";

View file

@ -1,4 +1,4 @@
{
nixosModule = import ./configuration.nix;
homeManagerModule = {...}: {};
homeManagerModule = import ./home.nix;
}

7
machines/gamepc/home.nix Normal file
View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
home.packages = with pkgs.unstable; [
devenv
vlc
handbrake
];
}

View file

@ -1,4 +1,4 @@
{...}: {
{pkgs, ...}: {
config = {
pim = {
tidal.enable = true;
@ -8,5 +8,37 @@
neovim.enable = true;
firefox.enable = true;
};
home.packages =
(with pkgs; [
jellyfin-media-player
virt-manager
])
++ (with pkgs.unstable; [
attic-client
dbeaver-bin
devenv
bottles-unwrapped
gimp
hexchat
impression
insomnia
keepassxc
krita
libreoffice
# logseq # Has insecure electron dependency
moonlight-qt
nicotine-plus
qFlipper
signal-desktop
strawberry
telegram-desktop
vlc
vorta
wireshark
# nheko # Has insecure olm dependency
handbrake
feishin
]);
};
}