Install more packages
This commit is contained in:
parent
0bd17fc562
commit
96f5e9f15c
@ -21,20 +21,23 @@ user:
|
|||||||
./neovim.nix
|
./neovim.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./pasystray.nix
|
./pasystray.nix
|
||||||
|
./photography.nix
|
||||||
./picom.nix
|
./picom.nix
|
||||||
./polybar.nix
|
./polybar.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
./qt.nix
|
./qt.nix
|
||||||
./redshift.nix
|
./redshift.nix
|
||||||
|
./reversing.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./rust.nix
|
./rust.nix
|
||||||
./signal.nix
|
./signal.nix
|
||||||
./telegram.nix
|
./telegram.nix
|
||||||
./thunderbird.nix
|
./thunderbird.nix
|
||||||
./tor.nix
|
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
|
./tor.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./zathura.nix
|
./zathura.nix
|
||||||
|
./zoom.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
6
home/photography.nix
Normal file
6
home/photography.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
darktable
|
||||||
|
rawtherapee
|
||||||
|
];
|
||||||
|
}
|
7
home/reversing.nix
Normal file
7
home/reversing.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
gdb
|
||||||
|
ghidra-bin
|
||||||
|
radare2
|
||||||
|
];
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
element-desktop
|
signal-desktop
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
5
home/zoom.nix
Normal file
5
home/zoom.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
zoom-us
|
||||||
|
];
|
||||||
|
}
|
@ -1,18 +1,26 @@
|
|||||||
inputs:
|
inputs:
|
||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
nix = {
|
nix = {
|
||||||
|
package = pkgs.nixUnstable;
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
settings = {
|
binaryCaches = lib.mkForce [
|
||||||
substituters = lib.mkForce [
|
"https://cache.nixos.org/"
|
||||||
"https://cache.nixos.org/"
|
"https://nix-community.cachix.org"
|
||||||
"https://nix-community.cachix.org"
|
];
|
||||||
];
|
binaryCachePublicKeys = [
|
||||||
trusted-public-keys = [
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
];
|
||||||
];
|
#settings = {
|
||||||
};
|
#substituters = lib.mkForce [
|
||||||
|
#"https://cache.nixos.org/"
|
||||||
|
#"https://nix-community.cachix.org"
|
||||||
|
#];
|
||||||
|
#trusted-public-keys = [
|
||||||
|
#"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
#];
|
||||||
|
#};
|
||||||
# nix shell and nix build should use the same channel as the flake
|
# nix shell and nix build should use the same channel as the flake
|
||||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
};
|
};
|
||||||
@ -28,27 +36,32 @@ inputs:
|
|||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
# TODO: remove
|
||||||
|
enableAllFirmware = true;
|
||||||
pulseaudio = {
|
pulseaudio = {
|
||||||
# TODO: pipewire
|
# TODO: pipewire
|
||||||
enable = false;
|
enable = true;
|
||||||
# stop mumble from muting other processes
|
# stop mumble from muting other processes
|
||||||
extraConfig = "unload-module module-role-cork";
|
extraConfig = "unload-module module-role-cork";
|
||||||
};
|
};
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
# driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
dbus.packages = with pkgs; [ gcr ];
|
dbus.packages = with pkgs; [ gcr ];
|
||||||
|
# for u2f stick
|
||||||
|
udev.packages = with pkgs; [ libu2f-host ];
|
||||||
|
davfs2.enable = true;
|
||||||
unbound.enable = true;
|
unbound.enable = true;
|
||||||
udisks2.enable = true;
|
udisks2.enable = true;
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = false;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
# required for nextcloud
|
# required for nextcloud
|
||||||
@ -57,6 +70,7 @@ inputs:
|
|||||||
# faster entropy generation
|
# faster entropy generation
|
||||||
haveged.enable = true;
|
haveged.enable = true;
|
||||||
|
|
||||||
|
mullvad-vpn.enable = true;
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -81,6 +95,7 @@ inputs:
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"L+ /lib64/ld-linux-x86-64.so.2 - - - - ${pkgs.stdenv.glibc}/lib64/ld-linux-x86-64.so.2"
|
"L+ /lib64/ld-linux-x86-64.so.2 - - - - ${pkgs.stdenv.glibc}/lib64/ld-linux-x86-64.so.2"
|
||||||
];
|
];
|
||||||
@ -90,11 +105,13 @@ inputs:
|
|||||||
git
|
git
|
||||||
keepassxc
|
keepassxc
|
||||||
lxappearance
|
lxappearance
|
||||||
|
mullvad-vpn
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
pavucontrol
|
pavucontrol
|
||||||
termite
|
termite
|
||||||
vim
|
vim
|
||||||
|
wget
|
||||||
which
|
which
|
||||||
|
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
inputs:
|
inputs:
|
||||||
{ config, lib, pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
vim
|
vim
|
||||||
|
11
machines/office.nix
Normal file
11
machines/office.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
inputs:
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
barrier
|
||||||
|
gnome3.dconf
|
||||||
|
libreoffice
|
||||||
|
paprefs
|
||||||
|
];
|
||||||
|
}
|
@ -8,8 +8,14 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||||||
modules = [
|
modules = [
|
||||||
{ system.stateVersion = "21.11"; }
|
{ system.stateVersion = "21.11"; }
|
||||||
(import ./common.nix inputs)
|
(import ./common.nix inputs)
|
||||||
|
(import ./dev.nix inputs)
|
||||||
|
(import ./entertainment.nix inputs)
|
||||||
|
(import ./office.nix inputs)
|
||||||
({ pkgs, lib, ... }: {
|
({ pkgs, lib, ... }: {
|
||||||
networking.hostName = hostname;
|
networking = {
|
||||||
|
hostName = hostname;
|
||||||
|
interfaces.eno1.useDHCP = true;
|
||||||
|
};
|
||||||
users.users.me = {
|
users.users.me = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user