- Removed Hyprland.

- Changed to use unstable branch.
- Removed Noctalia.
- Enhanced Stylix configuration. Now targets nothing by default.
This commit is contained in:
2025-12-09 12:40:16 +01:00
parent b0b59b2413
commit 54bd19fbc0
19 changed files with 116 additions and 643 deletions

View File

@ -35,33 +35,38 @@
];
# Bootloader.
boot.loader = {
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot = {
kernelParams = [ "quiet" "splash" ];
initrd.verbose = false;
loader = {
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
grub = {
enable = true;
device = "/dev/nvme0n1"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
#splashImage =
# extraConfig = ''
# menuentry "NixOS - Default" {
# set hidden=1
# }
# '';
grub = {
enable = true;
device = "/dev/nvme0n1"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
configurationLimit = 5;
#splashImage =
# extraConfig = ''
# menuentry "NixOS - Default" {
# set hidden=1
# }
# '';
};
grub2-theme = {
enable = true;
theme = "whitesur";
footer = true;
};
timeout = 10;
};
grub2-theme = {
enable = true;
theme = "whitesur";
footer = true;
};
timeout = 10;
};
#Ensure there is a grub_bios partition: (gparted)

View File

@ -10,7 +10,6 @@
#./hardware-configuration.nix
../plasma/plasma.nix
../hyprland/hyprland.nix
../niri/niri.nix
];
@ -23,24 +22,10 @@
./configuration.nix
];
programs.gamemode.enable = true;
environment.etc."nixos-tags".text = "plasma";
};
};
"hyprland" = {
inheritParentConfig = false;
configuration = {
imports = [
../hyprland/hyprland.nix
./configuration.nix
];
environment.etc."nixos-tags".text = "hyprland";
};
};
# "minimal" = {
# inheritParentConfig = false;
# configuration = {

9
modules/firefox-home.nix Normal file
View File

@ -0,0 +1,9 @@
{ ... }:
{
systemd.user.services."firefox-autostart" = {
serviceConfig = {
ExecStart = "";
ExecStop = "";
};
};
}

View File

@ -12,6 +12,10 @@
in
{
home-manager.sharedModules = [
./firefox-home.nix
];
programs = {
firefox = {
enable = true;

View File

@ -1,14 +0,0 @@
{ config, inputs, pkgs, ... }:
{
imports = [
];
home-manager.sharedModules = [
./home.nix
];
environment.systemPackages = with pkgs;
[
inputs.noctalia.packages.${system}.default
];
}

View File

@ -1,13 +0,0 @@
{pkgs, inputs, ...}:
{
imports = [
inputs.noctalia.homeModules.default
];
programs = {
noctalia-shell = {
enable = true;
systemd.enable = false;
};
};
}

View File

@ -34,6 +34,7 @@
mesa
fprintd
nh
whois
#Programming
#jetbrains.pycharm-community #The PyCharm IDE to edit Python code
@ -67,7 +68,7 @@
spotify
rpi-imager
kdePackages.yakuake
#atlauncher
atlauncher
#discord
vesktop
wineWowPackages.stagingFull

View File

@ -1,32 +0,0 @@
{
containers.portainer = {
autoStart = true;
privateNetwork = true;
config = { pkgs, ... }: {
services.docker.enable = true;
systemd.services.portainer = {
description = "Portainer Container Manager";
after = [ "docker.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = ''
${pkgs.docker}/bin/docker run \
-d \
--name portainer \
-p 9000:9000 \
-p 9443:9443 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:latest
'';
ExecStop = "${pkgs.docker}/bin/docker stop portainer";
Restart = "unless-stopped";
};
};
networking.firewall.allowedTCPPorts = [ 9000 9443 ];
};
};
}

View File

@ -12,6 +12,7 @@
stylix = {
enable = true;
autoEnable = false; #So I can choose my programs it targets myself!
image = ../../other/wallpaper2.png;
#autoEnable = true; #Auto generate theme based on wallpaper
base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
@ -36,8 +37,11 @@
};
};
targets = {
grub.enable = false;
qt.enable = false;
plymouth.enable = true;
plymouth.logoAnimated = true;
console.enable = true; #Default console without desktop environment! (NOT KITTY!)
#grub.enable = false;
#qt.enable = false;
};
};
}

View File

@ -9,9 +9,9 @@
stylix = {
targets = {
kitty.enable = false;
kde.enable = false;
zen-browser.profileNames = [ "${username}" ];
#kitty.enable = false;
#kde.enable = false;
#zen-browser.profileNames = [ "${username}" ];
};
};
}