Compare commits

..

11 Commits

Author SHA1 Message Date
martin 432b45eea5 Test Commit 2026-06-13 00:26:02 +02:00
martin 27d757d81d Plymouth Bootscreen aktiviert 2026-06-12 09:45:16 +02:00
martin 802a20ee75 Gnome wieder zum Laufen gebracht 2026-06-11 17:27:39 +02:00
Martin 12c86fa83e back to GNOME 2026-06-11 08:04:48 +00:00
Martin f93b8eff73 Back to GNOME 2026-06-11 07:46:14 +00:00
Martin 246edebd8c Back to Gnome 2026-06-11 07:44:41 +00:00
Martin 0980c1c6c6 Edit README.md 2026-06-09 14:20:20 +00:00
Martin 59c8d3a7d7 Edit README.md 2026-06-09 14:18:50 +00:00
martin 0aedc9aa50 KDE eingerichtet 2026-05-22 13:36:52 +02:00
martin 7b7a85dcb1 Wechsel von Gnome zu Plasma KDE 2026-05-18 15:44:36 +02:00
martin 3fe1bb8bb2 Nixos Update changed Lock File 2026-05-17 11:13:05 +02:00
8 changed files with 463 additions and 302 deletions
+148 -4
View File
@@ -1,4 +1,4 @@
[martin@dukebook:~]$ lsblk -f
# [martin@dukebook:~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 ext4 1.0 N.N da1f14f3-6cba-4293-bb63-9b7dd3b5e8a6
@@ -21,8 +21,152 @@ Partitionstabelle: gpt
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Name Flags
1 2048s 1050523s 1048476s ext4 uefi
2 1050624s 2099199s 1048576s fat32 grub boot, esp
3 2099200s 3907028991s 3904929792s root versteckt
1 2048s 2099199s 2097152s fat32 grub boot, esp
2 2099200s 3907028991s 3904929792s nixos versteckt
Vorgehen um Nixos im User Verzeichnis zu installieren:
1. Das Git Repo in das Verzeichnis /root/nixos-config clonen
2. nixos-generate-config /mnt
parted /dev/sda
2 lsblk -f
3 mkfs.fat -F32 /dev/sda1 -n GRUB
4 p
5 lsblk -f
6 cryptsetup luksFormat /dev/sda2
7 lsblk -f
8 cryptsetup luksOpen /dev/sda2 dukebook0
9 vgchange -ay
10 lsblk -
11 lsblk -l
12 lsblk -f
13 pvcreate /dev/mapper/dukebook0
14 vgcreate dukebook0 /dev/mapper/dukebook0
15* lvcreate -n home -L900G /dev/mapper/dukebook0
16 lvs
17 lvcreate -n var -L40G /dev/mapper/dukebook0
18 lvcreate -n root -L40G /dev/mapper/dukebook0
19 lvcreate -n swap -L16G /dev/mapper/dukebook0
20 lvs
21 mkfs.ext4 /dev/mapper/dukebook0-root -L root
22 mkfs.ext4 /dev/mapper/dukebook0-var -L var
23 mkfs.ext4 /dev/mapper/dukebook0-home -L home
24 mkswap /dev/mapper/dukebook0-swap -L swap
25 lsblk -f
26 history
27 mount /dev/mapper/dukebook0-root /mnt
28 cd /mnt
29 mkdir boot var home
30 mount /dev/sda1 boot/
31 mount /dev/mapper/dukebook0-var var
32 mount /dev/mapper/dukebook0-home home/
33 swapon /dev/mapper/dukebook0-swap
34 lsblk -f
35 ll
36 nixos-generate-config --root /mnt
37 cd etc/
38 ll
39 cd nixos/
40 ll
41 cd
42 pwd
43 git clone https://gitlab.com/duffyduke/nixos-config.git
44 git clone https://gitlab.com/duffyduke/nixos-config.git
45 git checkout 13896966
46 git checkout 13896966 https://gitlab.com/duffyduke/nixos-config.git
47 cd /root/nixos-config/
48 git checkout 13896966
49 ll
50 vi configuration.nix
51 blkid /dev/sda2 >> configuration.nix
52 vi configuration.nix
53 cd /etc/nixos/
54 ls
55 ls -la
56 cd /mnt/etc/nixos/
57 ll
58 cp hardware-configuration.nix /root/nixos-config/
59 ll
60 cd /mnt/etc/nixos/
61 ll
62 cd ..
63 ll
64 dc ..
65 ll
66 cd /roo
67 cd /root/
68 ll
69 cd nixos-config/
70 ll
71 #nixos-install --root /mnt -I nixos-config=/
72 pwd
73 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
74 ll
75 find . -name default.nix
76 grep -ir default.nix
77 vi configuration.nix
78 vi flake.nix
79 vi home.nix
80 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
81 vi home.nix
82 grep -ir default.nix
83 cd modules/user/
84 ll
85 vi kde-home.nix
86 vi gnome-home.nix
87 vi niri-home.nix
88 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
89 find . - name default.nix
90 cd ..
91 ..
92 cd ..
93 ll
94 touch default.nix
95 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
96 ll
97 cp flake.nix default.nix
98 vi default.nix
99 cd modules/
100 ll
101 cd user/
102 ll
103 less niri-home.nix
104 ..
105 cd ..
106 ll
107 cd shell/
108 ll
109 cat aliases.nix
110 cp aliases.nix ../../default.nix
111 cd --
112 cd -
113 cd ..
114 cd ..
115 ll
116 vi default.nix
117 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
118 vi default.nix
119 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
120 vi default.nix
121 nixos-install --root /mnt -I nixos-config=/root/nixos-config/
122 nixos-install --root /mnt -I nixos-config=/root/nixos-config/configuration.nix
123 grep -i default.nix
124 grep -i default.nix *
125 vi home.nix
126 grep -i default.nix *
127 nixos-install --root /mnt -I nixos-config=/root/nixos-config/configuration.nix
128 ll
129 rm default.nix
130 nixos-install --root /mnt -I nixos-config=/root/nixos-config/configuration.nix
131 pwd
132 parted /dev/sda
133 pwd
134 histor
135 history
Google fragen:
wie kann man nixos wieder herstellen wenn die Konfig im home verzeichnis lieg
+38 -3
View File
@@ -14,6 +14,28 @@
# ./modules/desktop/niri.nix
];
boot = {
# Enable Plymouth boot splash
plymouth = {
enable = true;
# Optional: Choose a theme. "breeze" is standard, or use "spinner", "fade-in", etc.
theme = "breeze";
};
# Enable Plymouth in initrd for a graphical LUKS password prompt
initrd.systemd.enable = true;
# Optional: Suppress kernel messages to make the boot look cleaner
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -22,8 +44,8 @@
# LUKS Partition
boot.initrd.luks.devices = {
dukebook0 = {
device = "/dev/disk/by-uuid/aaebdca2-acfb-4156-a8f7-057fd9e9e328";
preLVM = true;
device = "/dev/disk/by-uuid/5533dddd-216c-453b-aad5-657d8e889f4c";
preLVM = true;
};
};
@@ -41,6 +63,11 @@
# Set your time zone.
time.timeZone = "Europe/Berlin";
# xdg.portal = {
# enable = true;
# extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
# config.common.default = [ "kde" "gtk" ];
# };
programs.dconf.enable = true;
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
@@ -55,7 +82,7 @@
};
# Enable Gnome3 Keyring
# services.gnome.gnome-keyring.enable = true;
#services.gnome.gnome-keyring.enable = true;
# Enable CUPS to print documents.2
services.printing.enable = true;
@@ -75,6 +102,11 @@
pulse.enable = true;
};
# Bluetooth Support
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
@@ -122,6 +154,9 @@
xwayland-satellite
parted
vscodium
libreoffice-fresh
hunspell
signal-desktop
];
programs.niri.enable = true;
Generated
+24 -24
View File
@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1776136611,
"narHash": "sha256-b2pu3Pb28W0bJzQVP3OJHZC5+dgOOeqjlli2WVakKEU=",
"lastModified": 1778535464,
"narHash": "sha256-kkUQYSv70wynJ/DfnGals6r98I6bK3CVNVTN1zbAd7Y=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "8a423e444b17dde406097328604a64fc7429e34e",
"rev": "b659c7ffd40fc9e3bb60d420c79c67e769b9f4ab",
"type": "github"
},
"original": {
@@ -30,11 +30,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1776154571,
"narHash": "sha256-ui0v96pzemkAxzcrUnfsul+aFTKaVSqBdSx57BqoV0E=",
"lastModified": 1778512904,
"narHash": "sha256-GmJZE3/rjeVwB364IGClx4TV50T5ey5V+48f0t8AUD4=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "d48cefadf880406bc53c9fbdd1ab62369f341201",
"rev": "8994a3e53989f8ce9e6f16c29da15c08e0056402",
"type": "github"
},
"original": {
@@ -63,11 +63,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1776150157,
"narHash": "sha256-mlPY8xgVPfTDNZD6Kd5VJBsIXxOTbCkEakxofvKO39w=",
"lastModified": 1778389445,
"narHash": "sha256-9NyDMVf8ydUZGTzcPcLMQf0o1B3bte/00UGbuXHNWh8=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "874e7fd70e443fecdd4620ce589f509ceb7d8f25",
"rev": "38191826cb1e5fb9051a7e141fefe4941a2b4bed",
"type": "github"
},
"original": {
@@ -78,11 +78,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1775710090,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"lastModified": 1777954456,
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github"
},
"original": {
@@ -94,11 +94,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1776067740,
"narHash": "sha256-B35lpsqnSZwn1Lmz06BpwF7atPgFmUgw1l8KAV3zpVQ=",
"lastModified": 1778430510,
"narHash": "sha256-Ti+ZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7e495b747b51f95ae15e74377c5ce1fe69c1765f",
"rev": "8fd9daa3db09ced9700431c5b7ad0e8ba199b575",
"type": "github"
},
"original": {
@@ -110,11 +110,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1775710090,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"lastModified": 1777954456,
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github"
},
"original": {
@@ -132,11 +132,11 @@
"noctalia-qs": "noctalia-qs"
},
"locked": {
"lastModified": 1776043445,
"narHash": "sha256-ie3vFwg0eZTTHBDCRm+ee/PecbtdPn/pyL6hlotAfeQ=",
"lastModified": 1778464608,
"narHash": "sha256-tZRvyaKVP0DJ9DSFrr6K/l3X74Orfirk3Jjo7+br4Qs=",
"owner": "noctalia-dev",
"repo": "noctalia-shell",
"rev": "e56a9db57ed61ea248f109edd60965faf56d3da2",
"rev": "761869a561548874fe7e293b157fd7841576b367",
"type": "github"
},
"original": {
@@ -155,11 +155,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1775957204,
"narHash": "sha256-d4CVRtAty2GzDYXx4xYQmR+nlOjjKovyprQfZhgLckU=",
"lastModified": 1778377995,
"narHash": "sha256-uUzHDHqQF1rdVNiTa05L0mML3/d7fpbAShjCRWxbrBQ=",
"owner": "noctalia-dev",
"repo": "noctalia-qs",
"rev": "68e82fe34c68ee839a9c37e3466820e266af0c86",
"rev": "d8327a723eed6dd9aebe8e0b162126f390e827df",
"type": "github"
},
"original": {
+14 -2
View File
@@ -11,11 +11,19 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# Niri Flake (Offizielles Community-Flake)
niri.url = "github:sodiboo/niri-flake";
# Noctalia Shell
noctalia.url = "github:noctalia-dev/noctalia-shell";
noctalia.inputs.nixpkgs.follows = "nixpkgs";
# Plasma-Manager
# plasma-manager = {
# url = "github:nix-community/plasma-manager";
# inputs.nixpkgs.follows = "nixpkgs";
# };
};
outputs = { self, nixpkgs, home-manager, niri, noctalia, ... }@inputs: {
@@ -28,8 +36,12 @@
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.martin = import ./home.nix;
}
home-manager.users.martin = {
imports = [
./home.nix
];
};
}
niri.nixosModules.niri
];
};
+1 -1
View File
@@ -29,7 +29,7 @@
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4E7A-3767";
{ device = "/dev/disk/by-uuid/10AE-597B";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
+3 -2
View File
@@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
./modules/shell/alacritty.nix
./modules/shell/aliases.nix
@@ -9,8 +10,8 @@
./modules/user/niri-home.nix
# ./modules/user/hyprland-home.nix
./system/default.nix
# ./gnome.nix
# ./system/default.nix
# ./modules/desktop/gnome.nix
];
# Home Manager needs a bit of information about you and the paths it should
+3 -2
View File
@@ -11,8 +11,9 @@
# Enable the X11 windowing system.
services.xserver.enable = true;
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.wayland.enable = true;
# Configure keymap in X11
services.xserver.xkb.layout = "de";
+42 -74
View File
@@ -2,16 +2,14 @@
{
imports = [
./modules/shell/alacritty.nix
./system/default.nix
./gnome.nix
../shell/alacritty.nix
../shell/aliases.nix
];
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "martin";
home.homeDirectory = "/home/martin";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
@@ -24,40 +22,9 @@
# The home.packages option allows you to install Nix packages into your
# environment.
# home.file.".alias" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.alias;
# recursive = true;
# };
# home.file.".bashrc" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.bashrc;
# recursive = true;
# };
#home.file.".config/kitty" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/kitty;
# recursive = true;
#};
#home.file.".thunderbird" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.thunderbird;
# recursive = true;
#};
# home.file.".config/neofetch/config.conf" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/neofetch/config.conf;
# recursive = true;
# };
#home.file.".config/hypr" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/hypr;
# recursive = true;
#};
#home.file.".purple" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/pidgin/.purple;
# recursive = true;
#};
programs.plasma = {
enable = true;
};
home.packages = with pkgs; [
htop
@@ -76,7 +43,7 @@
# yazi
pkgs.p7zip
inetutils
signal-desktop
# signal-desktop
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
@@ -109,36 +76,36 @@
# org.gradle.daemon.idletimeout=3600000
# '';
};
gtk = {
enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
theme = {
name = "palenight";
package = pkgs.palenight-theme;
};
cursorTheme = {
name = "Numix-Cursor";
package = pkgs.numix-cursor-theme;
};
gtk3.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
};
# gtk = {
# enable = true;
#
# iconTheme = {
# name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
# };
#
# theme = {
# name = "palenight";
# package = pkgs.palenight-theme;
# };
#
# cursorTheme = {
# name = "Numix-Cursor";
# package = pkgs.numix-cursor-theme;
# };
#
# gtk3.extraConfig = {
# Settings = ''
# gtk-application-prefer-dark-theme=1
# '';
# };
#
# gtk4.extraConfig = {
# Settings = ''
# gtk-application-prefer-dark-theme=1
# '';
# };
# };
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
@@ -150,12 +117,13 @@
#
# /etc/profiles/per-user/martin/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
# home.sessionVariables = {
# EDITOR = "emacs";
GTK_THEME = "palenight";
};
# GTK_THEME = "palenight";
# };
# Let Home Manager install and manage itself.
fonts.fontconfig.enable = true;
programs.home-manager.enable = true;
# fonts.fontconfig.enable = true;
# programs.home-manager.enable = true;
}