Compare commits
11 Commits
39a1ba8bf6
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 432b45eea5 | |||
| 27d757d81d | |||
| 802a20ee75 | |||
| 12c86fa83e | |||
| f93b8eff73 | |||
| 246edebd8c | |||
| 0980c1c6c6 | |||
| 59c8d3a7d7 | |||
| 0aedc9aa50 | |||
| 7b7a85dcb1 | |||
| 3fe1bb8bb2 |
@@ -1,4 +1,4 @@
|
|||||||
[martin@dukebook:~]$ lsblk -f
|
# [martin@dukebook:~]$ lsblk -f
|
||||||
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
|
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
|
||||||
sda
|
sda
|
||||||
├─sda1 ext4 1.0 N.N da1f14f3-6cba-4293-bb63-9b7dd3b5e8a6
|
├─sda1 ext4 1.0 N.N da1f14f3-6cba-4293-bb63-9b7dd3b5e8a6
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
+38
-3
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -41,6 +63,11 @@
|
|||||||
# 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/";
|
||||||
@@ -55,7 +82,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# 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;
|
||||||
@@ -75,6 +102,11 @@
|
|||||||
pulse.enable = true;
|
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).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
@@ -122,6 +154,9 @@
|
|||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
parted
|
parted
|
||||||
vscodium
|
vscodium
|
||||||
|
libreoffice-fresh
|
||||||
|
hunspell
|
||||||
|
signal-desktop
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
|||||||
Generated
+24
-24
@@ -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": {
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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" ];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user