Compare commits

..

10 Commits

Author SHA1 Message Date
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 462 additions and 301 deletions
+147 -3
View File
@@ -21,8 +21,152 @@ Partitionstabelle: gpt
Disk-Flags: Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Name Flags Nummer Anfang Ende Größe Dateisystem Name Flags
1 2048s 1050523s 1048476s ext4 uefi
2 1050624s 2099199s 1048576s fat32 grub boot, esp 1 2048s 2099199s 2097152s fat32 grub boot, esp
3 2099200s 3907028991s 3904929792s root versteckt 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
+228 -193
View File
@@ -1,6 +1,6 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, 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`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
@@ -14,6 +14,28 @@
# ./modules/desktop/niri.nix # ./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. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@@ -22,8 +44,8 @@
# LUKS Partition # LUKS Partition
boot.initrd.luks.devices = { boot.initrd.luks.devices = {
dukebook0 = { dukebook0 = {
device = "/dev/disk/by-uuid/aaebdca2-acfb-4156-a8f7-057fd9e9e328"; device = "/dev/disk/by-uuid/5533dddd-216c-453b-aad5-657d8e889f4c";
preLVM = true; preLVM = true;
}; };
}; };
@@ -33,197 +55,210 @@
# fsType = "ext4"; # fsType = "ext4";
# }; # };
networking.hostName = "dukebook"; # Define your hostname. networking.hostName = "dukebook"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
#networking.wireless.iwd.enable = true; #networking.wireless.iwd.enable = true;
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
# xdg.portal = {
# enable = true;
# extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
# config.common.default = [ "kde" "gtk" ];
# };
programs.dconf.enable = true; programs.dconf.enable = true;
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "de_DE.UTF-8"; i18n.defaultLocale = "de_DE.UTF-8";
console = { console = {
font = "Lat2-Terminus16"; font = "Lat2-Terminus16";
keyMap = "de"; keyMap = "de";
# useXkbConfig = true; # use xkb.options in tty. # useXkbConfig = true; # use xkb.options in tty.
}; };
# Enable Gnome3 Keyring # Enable Gnome3 Keyring
# services.gnome.gnome-keyring.enable = true; #services.gnome.gnome-keyring.enable = true;
# Enable CUPS to print documents.2 # Enable CUPS to print documents.2
services.printing.enable = true; services.printing.enable = true;
services.avahi = { services.avahi = {
enable = true; enable = true;
nssmdns4 = true; nssmdns4 = true;
openFirewall = true; openFirewall = true;
}; };
# Enable sound. # Enable sound.
# sound.enable = true; # sound.enable = true;
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
pulse.enable = true; pulse.enable = true;
}; };
# Enable touchpad support (enabled default in most desktopManager). # Bluetooth Support
# services.xserver.libinput.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
users.groups.martin.gid = 1001; services.blueman.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Enable touchpad support (enabled default in most desktopManager).
users.users.martin = { # services.xserver.libinput.enable = true;
isNormalUser = true;
group = "martin"; users.groups.martin.gid = 1001;
extraGroups = [ "libvirtd" "networkmanager" "wheel" ]; # Enable sudo for the user.
uid = 1001; # Define a user account. Don't forget to set a password with passwd.
packages = with pkgs; []; users.users.martin = {
}; isNormalUser = true;
group = "martin";
# users.extraUsers.martin = { extraGroups = [ "libvirtd" "networkmanager" "wheel" ]; # Enable sudo for the user.
# openssh.authorizedKeys.keys = [ uid = 1001;
# " packages = with pkgs; [];
};
# Flatpaks
services.flatpak.enable = true; # users.extraUsers.martin = {
# openssh.authorizedKeys.keys = [
# List packages installed in system profile. To search, run: # "
# $ nix search wget
environment.systemPackages = with pkgs; [ # Flatpaks
firefox services.flatpak.enable = true;
tree
nextcloud-client # List packages installed in system profile. To search, run:
keepassxc # $ nix search wget
fastfetch environment.systemPackages = with pkgs; [
wget firefox
git tree
kitty nextcloud-client
font-awesome keepassxc
symbola fastfetch
noto-fonts-color-emoji wget
material-icons git
system-config-printer kitty
ubuntu-classic font-awesome
cascadia-code symbola
virt-manager noto-fonts-color-emoji
starship material-icons
pfetch system-config-printer
neovim ubuntu-classic
gnome-software cascadia-code
virt-manager
starship
pfetch
neovim
gnome-software
xwayland-satellite xwayland-satellite
parted parted
vscodium vscodium
]; libreoffice-fresh
hunspell
signal-desktop
];
programs.niri.enable = true; programs.niri.enable = true;
programs.neovim = { programs.neovim = {
enable = true; enable = true;
configure = { configure = {
customRC = '' customRC = ''
set number set number
set cc=80 set cc=80
set list set list
set listchars=tab:\ ,space:·,nbsp:,trail:,eol:,precedes:«,extends:» set listchars=tab:\ ,space:·,nbsp:,trail:,eol:,precedes:«,extends:»
if &diff if &diff
colorscheme blue colorscheme blue
endif endif
''; '';
packages.myVimPackage = with pkgs.vimPlugins; { packages.myVimPackage = with pkgs.vimPlugins; {
start = [ ctrlp-vim ]; start = [ ctrlp-vim ];
}; };
}; };
}; };
programs.neovim = { programs.neovim = {
defaultEditor = true; defaultEditor = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
}; };
# Virtualisation # Virtualisation
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
#fonts.packages = with pkgs; [ #fonts.packages = with pkgs; [
# (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) # (nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
#]; #];
nix = { nix = {
settings.auto-optimise-store = true; settings.auto-optimise-store = true;
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
}; };
}; };
nix.settings.experimental-features = [ nix.settings.experimental-features = [
"nix-command" "flakes" "nix-command" "flakes"
]; ];
# Automatic Updates # Automatic Updates
#system.autoUpgrade = { #system.autoUpgrade = {
# enable = true; # enable = true;
# channel = "https://nixos.org/channels/nixos-24.11"; # channel = "https://nixos.org/channels/nixos-24.11";
#}; #};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
# programs.gnupg.agent = { # programs.gnupg.agent = {
# enable = true; # enable = true;
# enableSSHSupport = true; # enableSSHSupport = true;
# }; # };
# nix.nixPath = [ "nixpkgs=/home/martin/Nextcloud/IT/mydotfiles/nixos" ]; # nix.nixPath = [ "nixpkgs=/home/martin/Nextcloud/IT/mydotfiles/nixos" ];
# Enable Gnome dash-to-dock # Enable Gnome dash-to-dock
nixpkgs.config.firefox.enableGnomeExtensions = true; nixpkgs.config.firefox.enableGnomeExtensions = true;
# services.gnome.chrome-gnome-shell.enable = true; # services.gnome.chrome-gnome-shell.enable = true;
services.gnome.gnome-browser-connector.enable = true; services.gnome.gnome-browser-connector.enable = true;
# List services that you want to enable: # List services that you want to enable:
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
# Copy the NixOS configuration file and link it from the resulting system # Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you # (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix. # accidentally delete configuration.nix.
# system.copySystemConfiguration = true; # system.copySystemConfiguration = true;
# This option defines the first version of NixOS you have installed on this particular machine, # This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# #
# Most users should NEVER change this value after the initial install, for any reason, # Most users should NEVER change this value after the initial install, for any reason,
# even if you've upgraded your system to a new NixOS release. # even if you've upgraded your system to a new NixOS release.
# #
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from, # This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
# so changing it will NOT upgrade your system. # so changing it will NOT upgrade your system.
# #
# This value being lower than the current NixOS release does NOT mean your system is # This value being lower than the current NixOS release does NOT mean your system is
# out of date, out of support, or vulnerable. # out of date, out of support, or vulnerable.
# #
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly. # and migrated your data accordingly.
# #
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "25.11"; # Did you read the comment? system.stateVersion = "25.11"; # Did you read the comment?
} }
Generated
+24 -24
View File
@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1776136611, "lastModified": 1778535464,
"narHash": "sha256-b2pu3Pb28W0bJzQVP3OJHZC5+dgOOeqjlli2WVakKEU=", "narHash": "sha256-kkUQYSv70wynJ/DfnGals6r98I6bK3CVNVTN1zbAd7Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8a423e444b17dde406097328604a64fc7429e34e", "rev": "b659c7ffd40fc9e3bb60d420c79c67e769b9f4ab",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -30,11 +30,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1776154571, "lastModified": 1778512904,
"narHash": "sha256-ui0v96pzemkAxzcrUnfsul+aFTKaVSqBdSx57BqoV0E=", "narHash": "sha256-GmJZE3/rjeVwB364IGClx4TV50T5ey5V+48f0t8AUD4=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "d48cefadf880406bc53c9fbdd1ab62369f341201", "rev": "8994a3e53989f8ce9e6f16c29da15c08e0056402",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -63,11 +63,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1776150157, "lastModified": 1778389445,
"narHash": "sha256-mlPY8xgVPfTDNZD6Kd5VJBsIXxOTbCkEakxofvKO39w=", "narHash": "sha256-9NyDMVf8ydUZGTzcPcLMQf0o1B3bte/00UGbuXHNWh8=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "874e7fd70e443fecdd4620ce589f509ceb7d8f25", "rev": "38191826cb1e5fb9051a7e141fefe4941a2b4bed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -78,11 +78,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1775710090, "lastModified": 1777954456,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa", "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -94,11 +94,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1776067740, "lastModified": 1778430510,
"narHash": "sha256-B35lpsqnSZwn1Lmz06BpwF7atPgFmUgw1l8KAV3zpVQ=", "narHash": "sha256-Ti+ZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7e495b747b51f95ae15e74377c5ce1fe69c1765f", "rev": "8fd9daa3db09ced9700431c5b7ad0e8ba199b575",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -110,11 +110,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1775710090, "lastModified": 1777954456,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa", "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -132,11 +132,11 @@
"noctalia-qs": "noctalia-qs" "noctalia-qs": "noctalia-qs"
}, },
"locked": { "locked": {
"lastModified": 1776043445, "lastModified": 1778464608,
"narHash": "sha256-ie3vFwg0eZTTHBDCRm+ee/PecbtdPn/pyL6hlotAfeQ=", "narHash": "sha256-tZRvyaKVP0DJ9DSFrr6K/l3X74Orfirk3Jjo7+br4Qs=",
"owner": "noctalia-dev", "owner": "noctalia-dev",
"repo": "noctalia-shell", "repo": "noctalia-shell",
"rev": "e56a9db57ed61ea248f109edd60965faf56d3da2", "rev": "761869a561548874fe7e293b157fd7841576b367",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -155,11 +155,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1775957204, "lastModified": 1778377995,
"narHash": "sha256-d4CVRtAty2GzDYXx4xYQmR+nlOjjKovyprQfZhgLckU=", "narHash": "sha256-uUzHDHqQF1rdVNiTa05L0mML3/d7fpbAShjCRWxbrBQ=",
"owner": "noctalia-dev", "owner": "noctalia-dev",
"repo": "noctalia-qs", "repo": "noctalia-qs",
"rev": "68e82fe34c68ee839a9c37e3466820e266af0c86", "rev": "d8327a723eed6dd9aebe8e0b162126f390e827df",
"type": "github" "type": "github"
}, },
"original": { "original": {
+14 -2
View File
@@ -11,11 +11,19 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# Niri Flake (Offizielles Community-Flake) # Niri Flake (Offizielles Community-Flake)
niri.url = "github:sodiboo/niri-flake"; niri.url = "github:sodiboo/niri-flake";
# Noctalia Shell # Noctalia Shell
noctalia.url = "github:noctalia-dev/noctalia-shell"; noctalia.url = "github:noctalia-dev/noctalia-shell";
noctalia.inputs.nixpkgs.follows = "nixpkgs"; 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: { outputs = { self, nixpkgs, home-manager, niri, noctalia, ... }@inputs: {
@@ -28,8 +36,12 @@
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.martin = import ./home.nix; home-manager.users.martin = {
} imports = [
./home.nix
];
};
}
niri.nixosModules.niri niri.nixosModules.niri
]; ];
}; };
+1 -1
View File
@@ -29,7 +29,7 @@
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4E7A-3767"; { device = "/dev/disk/by-uuid/10AE-597B";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
+3 -2
View File
@@ -1,6 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [
./modules/shell/alacritty.nix ./modules/shell/alacritty.nix
./modules/shell/aliases.nix ./modules/shell/aliases.nix
@@ -9,8 +10,8 @@
./modules/user/niri-home.nix ./modules/user/niri-home.nix
# ./modules/user/hyprland-home.nix # ./modules/user/hyprland-home.nix
./system/default.nix # ./system/default.nix
# ./gnome.nix # ./modules/desktop/gnome.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # 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. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
services.displayManager.gdm.enable = true; services.displayManager.sddm.enable = true;
services.desktopManager.gnome.enable = true; services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.wayland.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb.layout = "de"; services.xserver.xkb.layout = "de";
+42 -74
View File
@@ -2,16 +2,14 @@
{ {
imports = [ imports = [
./modules/shell/alacritty.nix ../shell/alacritty.nix
./system/default.nix ../shell/aliases.nix
./gnome.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
home.username = "martin"; home.username = "martin";
home.homeDirectory = "/home/martin"; home.homeDirectory = "/home/martin";
# This value determines the Home Manager release that your configuration is # This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release # compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes. # introduces backwards incompatible changes.
@@ -24,40 +22,9 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
# home.file.".alias" = { programs.plasma = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.alias; enable = true;
# 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;
#};
home.packages = with pkgs; [ home.packages = with pkgs; [
htop htop
@@ -76,7 +43,7 @@
# yazi # yazi
pkgs.p7zip pkgs.p7zip
inetutils inetutils
signal-desktop # signal-desktop
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# pkgs.hello # pkgs.hello
@@ -109,36 +76,36 @@
# org.gradle.daemon.idletimeout=3600000 # org.gradle.daemon.idletimeout=3600000
# ''; # '';
}; };
gtk = { # gtk = {
enable = true; # enable = true;
#
iconTheme = { # iconTheme = {
name = "Papirus-Dark"; # name = "Papirus-Dark";
package = pkgs.papirus-icon-theme; # package = pkgs.papirus-icon-theme;
}; # };
#
theme = { # theme = {
name = "palenight"; # name = "palenight";
package = pkgs.palenight-theme; # package = pkgs.palenight-theme;
}; # };
#
cursorTheme = { # cursorTheme = {
name = "Numix-Cursor"; # name = "Numix-Cursor";
package = pkgs.numix-cursor-theme; # package = pkgs.numix-cursor-theme;
}; # };
#
gtk3.extraConfig = { # gtk3.extraConfig = {
Settings = '' # Settings = ''
gtk-application-prefer-dark-theme=1 # gtk-application-prefer-dark-theme=1
''; # '';
}; # };
#
gtk4.extraConfig = { # gtk4.extraConfig = {
Settings = '' # Settings = ''
gtk-application-prefer-dark-theme=1 # gtk-application-prefer-dark-theme=1
''; # '';
}; # };
}; # };
# Home Manager can also manage your environment variables through # Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home # '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 # 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 # /etc/profiles/per-user/martin/etc/profile.d/hm-session-vars.sh
# #
home.sessionVariables = { # home.sessionVariables = {
# EDITOR = "emacs"; # EDITOR = "emacs";
GTK_THEME = "palenight"; # GTK_THEME = "palenight";
}; # };
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
fonts.fontconfig.enable = true; # fonts.fontconfig.enable = true;
programs.home-manager.enable = true; # programs.home-manager.enable = true;
} }