22 Commits

Author SHA1 Message Date
2f0c7750de Add mouse support to tmux 2026-04-28 09:55:18 +02:00
8afeda2e9a flake update 2026-04-28 09:24:13 +02:00
93431732c5 bluetooth manager for balrog 2026-04-25 15:59:35 +02:00
affe3c9b79 Add balrog to README 2026-04-25 12:33:45 +02:00
0a46b57485 Add balrog config 2026-04-25 12:27:27 +02:00
e8ec456ffd Merge branch 'feature/ollama-unstable' 2026-04-24 14:08:29 +02:00
Armel van Ravels
1b75b1bc9a Add bambu-studio the flatpak nix way 2026-04-24 14:06:47 +02:00
f20066a0af ollama via unstable channel 2026-04-24 13:52:09 +02:00
bd857c77dd Drop bambu-studio and add flatpak 2026-04-23 16:07:46 +02:00
Armel van Ravels
b1a13b64f7 Add unstable channel and jq 2026-04-23 16:07:04 +02:00
deed82f96b Add openscad 2026-04-15 11:15:50 +02:00
Armel van Ravels
6425616f8c New background 2026-04-15 11:15:08 +02:00
80cb7a6bd2 Add bambu studio 2026-04-13 21:04:57 +02:00
fc91df833a Set initial password 2026-04-13 17:32:51 +02:00
958a973ab5 flake update 2026-04-13 10:41:26 +02:00
4a19d10559 flake update 2026-04-09 20:22:58 +02:00
Armel van Ravels
4ff894e086 Add Enova DNS to Work machine 2026-04-08 15:01:57 +02:00
57dee45cb3 Update flake.lock 2026-04-08 00:54:41 +02:00
Armel van Ravels
eb948732a8 Hyprland start once for work 2026-04-07 10:44:34 +02:00
ff77b81b59 Just run kitty instead of kitty tmux as i can not attach it 2026-04-05 00:16:42 +02:00
a567d88667 Merge pull request 'Add gimp to gandalf system' (#15) from feature/add-gimp-to-gandalf into master
Reviewed-on: #15
2026-04-04 21:27:06 +02:00
e4f8c5e916 Add gimp to gandalf system 2026-04-04 21:25:28 +02:00
21 changed files with 241 additions and 20 deletions

View File

@@ -10,6 +10,7 @@ Each system has its own dedicated configuration module.
| **gandalf** | Personal system configuration for `gandalf`. |
| **frodo** | Personal system configuration for `frodo`. |
| **legolas** | Personal system configuration for `legolas`. |
| **balrog** | Personal system configuration for `balrog`. |
| **work** | Work-oriented system configuration for `work`. |
@@ -18,7 +19,7 @@ Each system has its own dedicated configuration module.
To rebuild and switch to a specific system:
```bash
# Replace <system> with gandalf, frodo, legolas, or work
# Replace <system> with gandalf, frodo, legolas, balrog or work
sudo nixos-rebuild switch --flake .#<system>
```

47
flake.lock generated
View File

@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1774875830,
"narHash": "sha256-WPYlTmZvVa9dWlAziFkVjBdv1Z6giNIq40O1DxsBmiI=",
"lastModified": 1775425411,
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7afd8cebb99e25a64a745765920e663478eb8830",
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
"type": "github"
},
"original": {
@@ -21,13 +21,28 @@
"type": "github"
}
},
"nix-flatpak": {
"locked": {
"lastModified": 1777229239,
"narHash": "sha256-OwSaWqlBdKn8QIa7BrPtJmlrr46U7AuwMc/toDKuMZw=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "3f1d78b63b6af353c0685b8a7411c04d980426e4",
"type": "github"
},
"original": {
"owner": "gmodena",
"repo": "nix-flatpak",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1774799055,
"narHash": "sha256-Tsq9BCz0q47ej1uFF39m4tuhcwru/ls6vCCJzutEpaw=",
"lastModified": 1777077449,
"narHash": "sha256-AIiMJiqvGrN4HyLEbKAoCSRRYn0rnlW5VbKNIMIYqm4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "107cba9eb4a8d8c9f8e9e61266d78d340867913a",
"rev": "a4bf06618f0b5ee50f14ed8f0da77d34ecc19160",
"type": "github"
},
"original": {
@@ -37,10 +52,28 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1776949667,
"narHash": "sha256-GMSVw35Q+294GlrTUKlx087E31z7KurReQ1YHSKp5iw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "01fbdeef22b76df85ea168fbfe1bfd9e63681b30",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View File

@@ -6,10 +6,19 @@
url = "github:nixos/nixpkgs/nixos-25.11";
};
nixpkgs-unstable = {
url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-flatpak = {
url = "github:gmodena/nix-flatpak";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# This strange syntax is a workaround for the intentional limitations of `flake.nix` files.

View File

@@ -1,31 +1,70 @@
{ nixpkgs, home-manager, ... }:
{ nixpkgs, nixpkgs-unstable, home-manager, nix-flatpak, ... }:
let
mkPkgsUnstable = system: import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
in
{
nixosConfigurations = {
"gandalf" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgsUnstable = mkPkgsUnstable "x86_64-linux";
nixFlatpak = nix-flatpak;
};
modules = [
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
./systems/gandalf
];
};
"frodo" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgsUnstable = mkPkgsUnstable "x86_64-linux";
nixFlatpak = nix-flatpak;
};
modules = [
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
./systems/frodo
];
};
"legolas" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgsUnstable = mkPkgsUnstable "x86_64-linux";
nixFlatpak = nix-flatpak;
};
modules = [
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
./systems/legolas
];
};
"balrog" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgsUnstable = mkPkgsUnstable "x86_64-linux";
nixFlatpak = nix-flatpak;
};
modules = [
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
./systems/balrog
];
};
"work" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgsUnstable = mkPkgsUnstable "x86_64-linux";
nixFlatpak = nix-flatpak;
};
modules = [
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
./systems/work
];

View File

@@ -0,0 +1,52 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../modules/home-manager.nix
../modules/common.nix
../modules/users.nix
../modules/locales.nix
../modules/services.nix
../modules/programs.nix
../modules/docker.nix
../modules/printing.nix
../modules/bambu-studio-flatpak.nix
];
boot.loader.systemd-boot.enable = false;
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi"; # ← use the same mount point here.
};
grub = {
efiSupport = true;
device = "nodev";
};
};
networking.hostName = "balrog";
networking.networkmanager.enable = true;
networking.nameservers = [ "192.168.68.56" "1.1.1.1" "8.8.8.8" ];
hardware.enableAllFirmware = true;
boot.initrd.kernelModules = [ "wl" ]; boot.kernelModules = [ "wl" "kvm-intel" ];
boot.extraModulePackages = with config.boot.kernelPackages; [
broadcom_sta
];
nixpkgs.config = {
allowInsecurePredicate = pkg: builtins.elem (lib.getName pkg) ["broadcom-sta"];
};
hardware.bluetooth.enable = true;
services.blueman.enable = true;
system.stateVersion = "25.11"; # Did you read the comment?
}

View File

@@ -0,0 +1,31 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/6795dc19-3130-4693-b04c-a2c56fbdbd55";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A202-E19C";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -21,6 +21,9 @@
../modules/ollama.nix
../modules/wireguard.nix
../modules/qbittorrent.nix
../modules/gimp.nix
../modules/openscad.nix
../modules/bambu-studio-flatpak.nix
];
boot.loader.systemd-boot.enable = true;
@@ -32,7 +35,7 @@
home-manager.users.avravels.home.hyprland.execOnce = [
"waybar"
"[workspace 1 silent] kitty tmux"
"[workspace 1 silent] kitty"
"[workspace 1 silent] spotify"
"[workspace 2 silent] firefox"
];

View File

@@ -0,0 +1,8 @@
{ pkgs, ...}:
{
services.flatpak.enable = true;
services.flatpak.packages = [
"com.bambulab.BambuStudio"
];
}

View File

@@ -10,9 +10,9 @@
environment.systemPackages = with pkgs; [
chromium
gnumake
git
jetbrains-toolbox
fastfetch
jq
];
security.rtkit.enable = true;

12
systems/modules/enova.nix Normal file
View File

@@ -0,0 +1,12 @@
{ pkgs, ... }:
{
services.dnsmasq = {
enable = true;
settings = {
server = [ "1.1.1.1" "8.8.8.8" ];
address = [ "/.enova.local/127.0.0.1" ];
};
};
}

View File

@@ -1,9 +1,12 @@
{ pkgs, ... }:
{ pkgs, pkgsUnstable, ... }:
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit pkgsUnstable;
};
users.avravels = import home/home.nix;
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, config, ... }:
{ lib, pkgsUnstable, config, ... }:
{
options.home.git = {
@@ -18,6 +18,7 @@
config = {
programs.git = {
enable = true;
package = pkgsUnstable.git;
settings.user = {
name = config.home.git.userName;
email = config.home.git.userEmail;

View File

@@ -1,5 +1,8 @@
{ pkgs, ... }:
{
programs.tmux.enable = true;
programs.tmux = {
enable = true;
mouse = true;
};
}

View File

@@ -27,6 +27,7 @@ in
settings = {
### MONITOR
monitor = [
"DP-3,2440x1440,auto,1"
",preferred,auto,1"
];

View File

@@ -3,6 +3,7 @@
let
wallpaper = builtins.toString ../backgrounds/monkey.jpg;
wallpaper2 = builtins.toString ../backgrounds/bird.jpg;
wallpaper3 = builtins.toString ../backgrounds/nix.png;
in
{
services.hyprpaper = {
@@ -12,10 +13,10 @@ in
preload = [
wallpaper
wallpaper2
wallpaper3
];
wallpaper = [
"DP-2,${wallpaper2}"
",${wallpaper}"
",${wallpaper3}"
];
};
};

7
systems/modules/jq.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, pkgs, ... } :
{
environment.systemPackages = with pkgs; [
jq
];
}

View File

@@ -1,9 +1,9 @@
{ pkgs, ... }:
{ pkgsUnstable, ... }:
{
services.ollama = {
enable = true;
package = pkgs.ollama-cuda;
package = pkgsUnstable.ollama-cuda;
};
services.open-webui.enable = true;

View File

@@ -0,0 +1,8 @@
{ config, pkgs, ... } :
{
environment.systemPackages = with pkgs; [
openscad
];
}

View File

@@ -2,6 +2,7 @@
{
users.users.avravels = {
initialPassword = "welcome";
isNormalUser = true;
description = "Armel van Ravels";
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];

View File

@@ -20,6 +20,8 @@
../modules/remmina.nix
../modules/postman.nix
../modules/gimp.nix
../modules/jq.nix
../modules/enova.nix
];
boot.loader.systemd-boot.enable = true;
@@ -33,13 +35,19 @@
networking.hostName = "laptop-armel";
home-manager.users.avravels.home.hyprland.execOnce = [ "waybar" ];
home-manager.users.avravels.home.hyprland.execOnce = [
"waybar"
"[workspace 1 silent] kitty"
"[workspace 2 silent] firefox"
"[workspace 2 silent] teams-for-linux"
"[workspace 3 silent] spotify"
];
home-manager.users.avravels.home.git.userName = "Armel van Ravels";
home-manager.users.avravels.home.git.userEmail = "armel@webavance.nl";
networking.networkmanager.enable = true;
networking.nameservers = [ "192.168.68.56" "1.1.1.1" "8.8.8.8" ];
networking.nameservers = [ "127.0.0.1" "192.168.68.56" "1.1.1.1" "8.8.8.8" ];
networking.firewall.enable = false;
hardware.graphics.enable = true;