Compare commits

...

5 commits

Author SHA1 Message Date
85567863ce added packages.nix to git
forgot oops
2025-06-03 16:20:25 +01:00
e3220cae9b moved home.packages and flatpaks to their own file
now in home-manager/packages.nix
2025-06-03 16:19:56 +01:00
a0da51f439 cleared up some comments in flake.nix 2025-06-03 16:12:04 +01:00
f482d6f06b added nixfmt-tree as formatter
also ran it, which is why so many files were modified
2025-06-03 16:10:04 +01:00
e8487933ec moved a lot from system.packages to home.packages
forgot i hadnt done this yet very useful though, home-manager is
probably now ready to use without the rest of this nixos config
2025-06-03 15:59:15 +01:00
16 changed files with 179 additions and 173 deletions

View file

@ -52,7 +52,8 @@
musnix.url = "github:musnix/musnix"; musnix.url = "github:musnix/musnix";
}; };
outputs = { outputs =
{
self, self,
nixpkgs-stable, nixpkgs-stable,
nixpkgs, nixpkgs,
@ -60,11 +61,14 @@
nur, nur,
home-manager, home-manager,
... ...
} @ inputs: let }@inputs:
let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
config = {allowUnfree = true;}; config = {
allowUnfree = true;
};
overlays = [ overlays = [
overlay-stable overlay-stable
overlay-master overlay-master
@ -100,16 +104,15 @@
config.allowUnfree = true; config.allowUnfree = true;
}; };
}; };
in { in
{
nixosConfigurations.gabbielaptop = nixpkgs.lib.nixosSystem { nixosConfigurations.gabbielaptop = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
inherit pkgs; inherit pkgs;
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
}; };
modules = modules = genericModules ++ [
genericModules
++ [
# Import nixos modules here # Import nixos modules here
./hosts/gabbielaptop/configuration.nix ./hosts/gabbielaptop/configuration.nix
./modules/nh.nix ./modules/nh.nix
@ -119,19 +122,13 @@
inputs.aagl.nixosModules.default inputs.aagl.nixosModules.default
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
inputs.musnix.nixosModules.musnix inputs.musnix.nixosModules.musnix
# inputs.stylix.nixosModules.stylix
# inputs.home-manager.nixosModules.home-manager
# inputs.nixvim.homeManagerModules.nixvim
{ nix.settings = inputs.aagl.nixConfig; } # Setup cachix for aagl projects { nix.settings = inputs.aagl.nixConfig; } # Setup cachix for aagl projects
# { home-manager.users.blue = ./home-manager/home.nix; }
]; ];
}; };
nixosConfigurations.biggerpi = nixpkgs.lib.nixosSystem { nixosConfigurations.biggerpi = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
inherit pkgs; inherit pkgs;
modules = modules = genericModules ++ [
genericModules
++ [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.satisfactory-server.nixosModules.satisfactory inputs.satisfactory-server.nixosModules.satisfactory
./hosts/biggerpi/configuration.nix ./hosts/biggerpi/configuration.nix
@ -153,5 +150,7 @@
inputs.nix-flatpak.homeManagerModules.nix-flatpak inputs.nix-flatpak.homeManagerModules.nix-flatpak
]; ];
}; };
# set formatter, using nixfmt-tree here
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-tree;
}; };
} }

View file

@ -1,4 +1,5 @@
{config, ...}: { { ... }:
{
programs.direnv = { programs.direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
programs.eza = { programs.eza = {
enable = true; enable = true;

View file

@ -1,4 +1,5 @@
{pkgs, ...}: { { pkgs, ... }:
{
programs.floorp = { programs.floorp = {
enable = true; enable = true;
profiles.blue = { profiles.blue = {

View file

@ -2,7 +2,8 @@
pkgs, pkgs,
lib, lib,
... ...
}: { }:
{
home.username = "blue"; home.username = "blue";
home.homeDirectory = "/home/blue"; home.homeDirectory = "/home/blue";
@ -21,49 +22,15 @@
./firefox.nix ./firefox.nix
./zellij.nix ./zellij.nix
./obs-studio.nix ./obs-studio.nix
./packages.nix
]; ];
home.stateVersion = "24.05"; home.stateVersion = "24.05";
services.gnome-keyring.enable = true; # used for nextcloud-client services.gnome-keyring.enable = true; # used for nextcloud-client
# General use home packages that dont require a separate module
home.packages = with pkgs; [
grimblast # Screenshot tool
powerline-fonts # Fonts
nix-output-monitor # Provides a dependency graph for nix builds
bitwarden-desktop # Integrates with bitwarden extension
wofi # Wayland app launcher
nvtopPackages.amd # GPU monitor, more detailed than BTOP-rocm
signal-desktop # Signal messenger client
nautilus # File manager (move to option maybe)
element-desktop # Matrix client
stable.jetbrains.idea-community # IDE
reaper # Paid DAW, using free trial
telegram-desktop # Telegram messenger client
pavucontrol # Useful audio control GUI
stable.prismlauncher # Minecraft launcher
virt-manager # QEMU manager
bat # cat but with syntax highlighting
bc # terminal calculator
# Audio Plugins
calf
zam-plugins
lsp-plugins
ardour # DAW
gimp3 # GNU Image Manipulation Program, pretty self explanatory
networkmanagerapplet # Tray icon for managing networking
blueman # Tray icon for managing bluetooth
];
services.flatpak.packages = [
"io.mrarm.mcpelauncher" # Minecraft bedrock edition launcher
];
home.sessionVariables = { home.sessionVariables = {
DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}"; DEFAULT_BROWSER = "${lib.getExe pkgs.floorp}";
# Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf # Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf
GDK_SCALE = 1; GDK_SCALE = 1;
XCURSOR_SIZE = 24; XCURSOR_SIZE = 24;

View file

@ -1,4 +1,5 @@
{...}: { { ... }:
{
# Enable Hyprland compositor # Enable Hyprland compositor
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;

View file

@ -1,4 +1,5 @@
{pkgs, lib, ... }: { { pkgs, lib, ... }:
{
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
settings = { settings = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {...}:
{ {
services.nextcloud-client = { services.nextcloud-client = {
enable = true; enable = true;

View file

@ -2,7 +2,8 @@
config, config,
pkgs, pkgs,
... ...
}: { }:
{
programs.nvf = { programs.nvf = {
enable = true; enable = true;
settings = { settings = {

View file

@ -1,4 +1,5 @@
{pkgs, ...}: { { pkgs, ... }:
{
programs.obs-studio = { programs.obs-studio = {
enable = true; enable = true;
plugins = with pkgs.obs-studio-plugins; [ plugins = with pkgs.obs-studio-plugins; [

51
home-manager/packages.nix Normal file
View file

@ -0,0 +1,51 @@
{pkgs, ...}:{
# packages that i dont need to use a module for
home.packages = with pkgs; [
grimblast # Screenshot tool
powerline-fonts # Fonts
nix-output-monitor # Provides a dependency graph for nix builds
bitwarden-desktop # Integrates with bitwarden extension
wofi # Wayland app launcher
nvtopPackages.amd # GPU monitor, more detailed than BTOP-rocm
signal-desktop # Signal messenger client
nautilus # File manager (move to option maybe)
element-desktop # Matrix client
stable.jetbrains.idea-community # IDE
telegram-desktop # Telegram messenger client
pavucontrol # Useful audio control GUI
stable.prismlauncher # Minecraft launcher
virt-manager # QEMU manager
bat # cat but with syntax highlighting
bc # terminal calculator
wget # download files
vesktop # discord client
thunderbird # email client
fastfetch # silly specs display
ungoogled-chromium # useful when a website breaks in firefox
qbittorrent # torrent client
zip # lets you zip files
unzip # lets you unzip files
vlc # media player
vial # gui for qmk stuff
qmk # qmk configurator
wl-clipboard # command-line copy/paste
lutris # game launcher
tenacity # small DAW
davinci-resolve # video editor
libreoffice # office suite
# Audio Plugins
calf
zam-plugins
lsp-plugins # not language servers, its an audio thing trust me
ardour # DAW
gimp3 # GNU Image Manipulation Program, pretty self explanatory
networkmanagerapplet # Tray icon for managing networking
blueman # Tray icon for managing bluetooth
];
services.flatpak.packages = [
"io.mrarm.mcpelauncher" # Minecraft bedrock edition launcher
];
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: { { pkgs, ... }:
{
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/heetch.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/heetch.yaml";

View file

@ -1,4 +1,5 @@
{config, ...}: { { config, ... }:
{
programs.waybar = { programs.waybar = {
enable = true; enable = true;
systemd.enable = true; # using these instead of exec-once beacuse SOME packages (swaync) dont let you disable them systemd.enable = true; # using these instead of exec-once beacuse SOME packages (swaync) dont let you disable them

View file

@ -1,4 +1,5 @@
{...}: { { ... }:
{
programs.zellij = { programs.zellij = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;

View file

@ -3,7 +3,8 @@
pkgs, pkgs,
config, config,
... ...
}: { }:
{
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -72,7 +73,10 @@
}; };
programs.regreet = { programs.regreet = {
enable = true; enable = true;
cageArgs = ["-m" "last"]; cageArgs = [
"-m"
"last"
];
}; };
# Enable the Hyprland WM functionality for NixOS (xdg portals etc.) # Enable the Hyprland WM functionality for NixOS (xdg portals etc.)

View file

@ -1,21 +1,10 @@
{ {
config,
lib,
pkgs, pkgs,
... ...
}: { }:
{
# All system packages required from nixos-unstable by default # All system packages required from nixos-unstable by default
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim # nano is installed by default
wget
vesktop
thunderbird
kdePackages.bluedevil
fastfetch
ungoogled-chromium
qbittorrent
p7zip
unrar
wineWowPackages.stable wineWowPackages.stable
wine wine
(wine.override { wineBuild = "wine64"; }) (wine.override { wineBuild = "wine64"; })
@ -23,21 +12,8 @@
wineWowPackages.staging wineWowPackages.staging
winetricks winetricks
wineWowPackages.waylandFull wineWowPackages.waylandFull
vlc
protonmail-bridge
pciutils pciutils
vial
qmk
dmidecode dmidecode
wl-clipboard
lutris
tree
tenacity
home-manager
davinci-resolve
v4l-utils
libreoffice
nixfmt-rfc-style
nixd nixd
qemu qemu
]; ];