aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-24 10:37:18 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-24 10:37:18 +0200
commita372e460f1e9f857e429c6b4e51dd711feb13453 (patch)
tree284af331e9c73f72b59c2bd6bf0bb5bf5f1ef5a7
parent1085bfc9cf04915b37459db5dc52f8713e57bdbf (diff)
parent4d0f59f9580ff62d9b4b2c7aeed23632840d1679 (diff)
Merge branch 'main' of cgit:/srv/git/NixOS-config
-rw-r--r--flake.nix2
-rw-r--r--home/rices/cinnamon/default.nix4
-rw-r--r--home/rices/cinnamon/home.nix3
-rw-r--r--home/rices/cinnamon/system.nix57
-rw-r--r--home/rices/cinnamon/variables.nix3
-rw-r--r--hosts/herra/file-system.nix2
6 files changed, 69 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index a908605..f44ea41 100644
--- a/flake.nix
+++ b/flake.nix
@@ -103,7 +103,7 @@
in {
nixosConfigurations = {
kronos = mkSystem "kronos" "schrottkatze";
- herra = mkSystem "herra" "schrottkatze";
+ herra = mkSystem "herra" "cinnamon";
mystra = mkSystem "mystra" "nord-blue";
};
};
diff --git a/home/rices/cinnamon/default.nix b/home/rices/cinnamon/default.nix
new file mode 100644
index 0000000..6b7865d
--- /dev/null
+++ b/home/rices/cinnamon/default.nix
@@ -0,0 +1,4 @@
+{
+ system = import ./system.nix;
+ home = import ./home.nix;
+}
diff --git a/home/rices/cinnamon/home.nix b/home/rices/cinnamon/home.nix
new file mode 100644
index 0000000..5e994b3
--- /dev/null
+++ b/home/rices/cinnamon/home.nix
@@ -0,0 +1,3 @@
+{...}: {
+ # Cinnamon manages most UI config itself; HM overrides can go here
+}
diff --git a/home/rices/cinnamon/system.nix b/home/rices/cinnamon/system.nix
new file mode 100644
index 0000000..5800da1
--- /dev/null
+++ b/home/rices/cinnamon/system.nix
@@ -0,0 +1,57 @@
+{pkgs, ...}: let
+ vars = import ./variables.nix;
+in {
+ services.xserver = {
+ enable = true;
+ desktopManager.cinnamon.enable = true;
+ xkb = {
+ layout = "cz";
+ options = "eurosign:e,caps:escape";
+ };
+ };
+
+ environment.systemPackages = with pkgs; [
+ xorg.xrandr
+ xclip
+ ];
+
+ stylix = {
+ enable = true;
+ autoEnable = true;
+ base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
+ image = vars.image;
+
+ fonts = {
+ monospace = {
+ package = pkgs.dejavu_fonts;
+ name = "DejaVu Sans Mono";
+ };
+ sansSerif = {
+ package = pkgs.dejavu_fonts;
+ name = "DejaVu Sans";
+ };
+ serif = {
+ package = pkgs.dejavu_fonts;
+ name = "DejaVu Serif";
+ };
+ emoji = {
+ package = pkgs.noto-fonts-color-emoji;
+ name = "Noto Color Emoji";
+ };
+ sizes = {
+ terminal = 11;
+ applications = 11;
+ desktop = 11;
+ };
+ };
+
+ cursor = {
+ package = pkgs.bibata-cursors;
+ name = "Bibata-Modern-Classic";
+ size = 24;
+ };
+
+ polarity = "dark";
+ targets.nixos-icons.enable = false;
+ };
+}
diff --git a/home/rices/cinnamon/variables.nix b/home/rices/cinnamon/variables.nix
new file mode 100644
index 0000000..4c13af7
--- /dev/null
+++ b/home/rices/cinnamon/variables.nix
@@ -0,0 +1,3 @@
+{
+ image = ../../../assets/wallpapers/insert_coin.jpeg;
+}
diff --git a/hosts/herra/file-system.nix b/hosts/herra/file-system.nix
index 2e47cf2..42976ff 100644
--- a/hosts/herra/file-system.nix
+++ b/hosts/herra/file-system.nix
@@ -1,6 +1,6 @@
{...}: {
fileSystems."/nix" = {
- options = [ "subvol=@nix" "compress=zstd:3" "noatime" ];
+ options = [ "compress=zstd:3" "noatime" ];
neededForBoot = true;
};
}