Update flake.nix
This commit is contained in:
62
flake.nix
62
flake.nix
@@ -32,18 +32,6 @@
|
|||||||
impermanence.nixosModules.impermanence
|
impermanence.nixosModules.impermanence
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
environment.persistence."/persist" = {
|
|
||||||
hideMounts = true;
|
|
||||||
directories = [
|
|
||||||
"/var/log"
|
|
||||||
"/var/lib/bluetooth"
|
|
||||||
"/var/lib/networkmanager"
|
|
||||||
"/etc/ssh"
|
|
||||||
];
|
|
||||||
files = [
|
|
||||||
"/etc/machine-id"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
# nix --extra-experimental-features "nix-command flakes" run github:nix-community/disko/latest#disko-install -- --flake ./#stationette --disk stationette --write-efi-boot-entries /dev/sda
|
# nix --extra-experimental-features "nix-command flakes" run github:nix-community/disko/latest#disko-install -- --flake ./#stationette --disk stationette --write-efi-boot-entries /dev/sda
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
@@ -97,26 +85,20 @@
|
|||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
networking = {
|
environment = {
|
||||||
hostName = "stationette";
|
persistence."/persist" = {
|
||||||
networkmanager.enable = true;
|
hideMounts = true;
|
||||||
};
|
directories = [
|
||||||
users.users.chris = {
|
"/var/log"
|
||||||
uid = 1000;
|
"/var/lib/bluetooth"
|
||||||
isNormalUser = true;
|
"/var/lib/networkmanager"
|
||||||
shell = pkgs.zsh;
|
"/etc/ssh"
|
||||||
extraGroups = [
|
];
|
||||||
"chris"
|
files = [
|
||||||
"wheel"
|
"/etc/machine-id"
|
||||||
"networkmanager"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
programs.zsh = {
|
systemPackages = with pkgs; [
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
#bat
|
#bat
|
||||||
#highlight
|
#highlight
|
||||||
#btop
|
#btop
|
||||||
@@ -149,6 +131,26 @@
|
|||||||
#p7zip
|
#p7zip
|
||||||
#impala
|
#impala
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
networking = {
|
||||||
|
hostName = "stationette";
|
||||||
|
networkmanager.enable = true;
|
||||||
|
};
|
||||||
|
users.users.chris = {
|
||||||
|
uid = 1000;
|
||||||
|
isNormalUser = true;
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
extraGroups = [
|
||||||
|
"chris"
|
||||||
|
"wheel"
|
||||||
|
"networkmanager"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "25.11";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.chris = { pkgs, lib, ... }: {
|
users.chris = { pkgs, lib, ... }: {
|
||||||
home = {
|
home = {
|
||||||
|
|||||||
Reference in New Issue
Block a user