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";
};
outputs = {
outputs =
{
self,
nixpkgs-stable,
nixpkgs,
@ -60,11 +61,14 @@
nur,
home-manager,
...
} @ inputs: let
}@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {allowUnfree = true;};
config = {
allowUnfree = true;
};
overlays = [
overlay-stable
overlay-master
@ -75,7 +79,7 @@
{
nix.registry.nixos.flake = inputs.self;
environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath;
nix.nixPath = ["nixpkgs=${nixpkgs.outPath}"];
nix.nixPath = [ "nixpkgs=${nixpkgs.outPath}" ];
}
];
genericHomeModule = [
@ -100,16 +104,15 @@
config.allowUnfree = true;
};
};
in {
in
{
nixosConfigurations.gabbielaptop = nixpkgs.lib.nixosSystem {
inherit system;
inherit pkgs;
specialArgs = {
inherit inputs;
};
modules =
genericModules
++ [
modules = genericModules ++ [
# Import nixos modules here
./hosts/gabbielaptop/configuration.nix
./modules/nh.nix
@ -119,19 +122,13 @@
inputs.aagl.nixosModules.default
inputs.lanzaboote.nixosModules.lanzaboote
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
# { home-manager.users.blue = ./home-manager/home.nix; }
{ nix.settings = inputs.aagl.nixConfig; } # Setup cachix for aagl projects
];
};
nixosConfigurations.biggerpi = nixpkgs.lib.nixosSystem {
inherit system;
inherit pkgs;
modules =
genericModules
++ [
modules = genericModules ++ [
inputs.disko.nixosModules.disko
inputs.satisfactory-server.nixosModules.satisfactory
./hosts/biggerpi/configuration.nix
@ -153,5 +150,7 @@
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 = {
enable = true;
enableZshIntegration = true;

View file

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

View file

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

View file

@ -2,7 +2,8 @@
pkgs,
lib,
...
}: {
}:
{
home.username = "blue";
home.homeDirectory = "/home/blue";
@ -21,49 +22,15 @@
./firefox.nix
./zellij.nix
./obs-studio.nix
./packages.nix
];
home.stateVersion = "24.05";
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 = {
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
GDK_SCALE = 1;
XCURSOR_SIZE = 24;

View file

@ -1,9 +1,10 @@
{...}: {
{ ... }:
{
# Enable Hyprland compositor
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd.variables = ["--all"];
systemd.variables = [ "--all" ];
settings = {
misc = {
enable_anr_dialog = false;

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
programs.obs-studio = {
enable = true;
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 = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/heetch.yaml";
@ -31,7 +32,7 @@
};
polarity = "dark";
targets = {
floorp.profileNames = ["blue"];
floorp.profileNames = [ "blue" ];
};
};
}

View file

@ -1,4 +1,5 @@
{config, ...}: {
{ config, ... }:
{
programs.waybar = {
enable = true;
systemd.enable = true; # using these instead of exec-once beacuse SOME packages (swaync) dont let you disable them
@ -7,7 +8,7 @@
layer = "top";
position = "top";
height = 30;
modules-left = ["hyprland/workspaces"];
modules-left = [ "hyprland/workspaces" ];
modules-center = [
"clock"
"custom/swaync"

View file

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

View file

@ -3,7 +3,8 @@
pkgs,
config,
...
}: {
}:
{
imports = [
./hardware-configuration.nix
];
@ -26,9 +27,9 @@
];
};
boot.initrd.kernelModules = ["amdgpu"];
boot.extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
boot.kernelModules = ["v4l2loopback"];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
boot.kernelModules = [ "v4l2loopback" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "gabbielaptop"; # Define your hostname.
@ -36,7 +37,7 @@
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = [pkgs.stable.rocmPackages.clr.icd]; # Needed for davinci-resolve to utilize the gpu, otherwise it refuses to launch
extraPackages = [ pkgs.stable.rocmPackages.clr.icd ]; # Needed for davinci-resolve to utilize the gpu, otherwise it refuses to launch
};
# Enable networking
networking.networkmanager.enable = true;
@ -72,7 +73,10 @@
};
programs.regreet = {
enable = true;
cageArgs = ["-m" "last"];
cageArgs = [
"-m"
"last"
];
};
# Enable the Hyprland WM functionality for NixOS (xdg portals etc.)

View file

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