From f9d01c122b2368f2e3df71be0b8652d9d51c9b58 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Fri, 26 May 2023 02:32:33 +0300 Subject: [PATCH] In proggress: Separating devstuff nixos config --- nixos/desktop/configuration.nix | 9 +++------ nixos/devstuff.nix | 12 ++++++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 nixos/devstuff.nix diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index ad23b73..c69ef54 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -1,6 +1,7 @@ { config, pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ../devstuff.nix ]; fileSystems."/kovo1" = { @@ -62,7 +63,7 @@ ''; }; - networking.hostName = "nixos"; + networking.hostName = "alina"; networking.networkmanager.enable = true; time.timeZone = "Europe/Helsinki"; i18n.defaultLocale = "fi_FI.UTF-8"; @@ -243,6 +244,7 @@ wineWowPackages.stable winetricks heroic + runelite libreoffice nextcloud-client helvum @@ -261,11 +263,6 @@ prismlauncher mangohud #vulkan-tools - git - rustup - rust-analyzer - cargo-cross - gcc obs-studio appimage-run steam-run-native diff --git a/nixos/devstuff.nix b/nixos/devstuff.nix new file mode 100644 index 0000000..0a167aa --- /dev/null +++ b/nixos/devstuff.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +{ + users.users.jt.packages = with pkgs; [ + git + rustup + rust-analyzer + cargo-cross + gcc + pkg-config + gdb + ]; +}