mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-08 09:17:23 +08:00
cleanup
This commit is contained in:
parent
0e62ba5d1d
commit
bad34bdf6f
8 changed files with 15 additions and 36 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./autolock.nix
|
||||
./redshift.nix
|
||||
./gnome-things.nix
|
||||
./guiapps.nix
|
||||
|
||||
# WMish things
|
||||
./xmonad
|
||||
|
|
|
|||
|
|
@ -15,5 +15,4 @@
|
|||
gnome-icon-theme
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
9
features/desktopish/guiapps.nix
Normal file
9
features/desktopish/guiapps.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
# Apps I use on desktops and laptops
|
||||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
vscode
|
||||
nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode
|
||||
];
|
||||
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# https://nixos.wiki/wiki/Distributed_build
|
||||
{
|
||||
nix.buildMachines = [{
|
||||
hostName = "ryzen9";
|
||||
hostName = "162.55.241.231";
|
||||
system = "x86_64-linux";
|
||||
# if the builder supports building for multiple architectures,
|
||||
# replace the previous line by, e.g.,
|
||||
|
|
|
|||
|
|
@ -59,10 +59,8 @@
|
|||
[
|
||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p53
|
||||
./features/distributed-build
|
||||
./features/email
|
||||
./features/desktopish
|
||||
./features/virtualbox.nix
|
||||
./features/block-socialmedia.nix
|
||||
#./features/server-mode.nix
|
||||
# ./features/postgrest.nix
|
||||
];
|
||||
|
|
@ -71,9 +69,8 @@
|
|||
[
|
||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-7th-gen
|
||||
./features/distributed-build.nix
|
||||
./features/email
|
||||
./features/gnome.nix
|
||||
#./features/block-socialmedia.nix
|
||||
./features/desktopish/guiapps.nix
|
||||
];
|
||||
nixosConfigurations.ryzen9 = mkHomeMachine
|
||||
./hosts/ryzen9.nix
|
||||
|
|
|
|||
3
home.nix
3
home.nix
|
|
@ -154,6 +154,9 @@ rec {
|
|||
"p71" = {
|
||||
hostname = "192.168.2.25";
|
||||
};
|
||||
"ryzen9" = {
|
||||
hostname = "162.55.241.231";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -60,33 +60,12 @@
|
|||
networking.interfaces.wlp4s0.useDHCP = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.ipfs = {
|
||||
enable = true;
|
||||
user = "srid";
|
||||
};
|
||||
services.netdata.enable = true;
|
||||
|
||||
programs = {
|
||||
mosh.enable = true;
|
||||
steam.enable = true;
|
||||
};
|
||||
|
||||
programs.adb.enable = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
mpv
|
||||
nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode
|
||||
obsidian
|
||||
psmisc
|
||||
ripgrep
|
||||
signal-desktop
|
||||
vscode
|
||||
pulsemixer
|
||||
];
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.srid = {
|
||||
isNormalUser = true;
|
||||
|
|
|
|||
|
|
@ -71,15 +71,6 @@
|
|||
extraGroups = [ "wheel" "networkmanager" "audio" ]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
signal-desktop
|
||||
vscode
|
||||
obsidian
|
||||
inkscape
|
||||
zeroad
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue