Compare commits
3 Commits
728f7e7ce2
...
5f9b7cac2c
Author | SHA1 | Date | |
---|---|---|---|
5f9b7cac2c | |||
292544f602 | |||
2a63264f1e |
|
@ -162,7 +162,7 @@
|
||||||
};
|
};
|
||||||
networking = mkNixOsNetworking {
|
networking = mkNixOsNetworking {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
use-iwd = true;
|
use-iwd = false;
|
||||||
};
|
};
|
||||||
graphical = mkNixOsGraphical {
|
graphical = mkNixOsGraphical {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
nixos-apple-silicon.nixosModules.apple-silicon-support
|
nixos-apple-silicon.nixosModules.apple-silicon-support
|
||||||
./nixos/machines/foxhut/hardware.nix
|
./nixos/machines/foxhut/hardware.nix
|
||||||
(import ./nixos/machines/foxhut/boot.nix { inherit asahi-firmware; })
|
(import ./nixos/machines/foxhut/boot.nix { inherit pkgs asahi-firmware; })
|
||||||
base
|
base
|
||||||
networking
|
networking
|
||||||
graphical
|
graphical
|
||||||
|
|
|
@ -22,7 +22,7 @@ in rec {
|
||||||
fira-code ibm-plex
|
fira-code ibm-plex
|
||||||
]
|
]
|
||||||
++ (if pkgs.stdenv.isDarwin then [alloy6-mac] else [pkgs.alloy6])
|
++ (if pkgs.stdenv.isDarwin then [alloy6-mac] else [pkgs.alloy6])
|
||||||
++ (if pkgs.stdenv.isDarwin then [] else [pkgs.keepassxc])
|
++ (if pkgs.stdenv.isDarwin then [] else [pkgs.keepassxc pkgs.vesktop pkgs.signal-desktop])
|
||||||
;
|
;
|
||||||
|
|
||||||
programs.alacritty = alacritty;
|
programs.alacritty = alacritty;
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "docker" ];
|
extraGroups = [ "wheel" "docker" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
uid = 1000;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.guest = {
|
users.users.guest = {
|
||||||
|
@ -55,6 +56,7 @@
|
||||||
extraGroups = [ ];
|
extraGroups = [ ];
|
||||||
home = "/home/guest";
|
home = "/home/guest";
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
uid = 1001;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
|
@ -48,6 +48,7 @@ in
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "docker" ];
|
extraGroups = [ "wheel" "docker" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
uid = 1002;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
# 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`).
|
||||||
|
|
||||||
{ asahi-firmware, ... }:
|
{ pkgs, asahi-firmware, ... }:
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -15,5 +16,12 @@
|
||||||
|
|
||||||
hardware.asahi.useExperimentalGPUDriver = true;
|
hardware.asahi.useExperimentalGPUDriver = true;
|
||||||
hardware.asahi.experimentalGPUInstallMode = "replace";
|
hardware.asahi.experimentalGPUInstallMode = "replace";
|
||||||
|
|
||||||
|
fileSystems.foxshare = {
|
||||||
|
fsType = "exfat";
|
||||||
|
device = "/dev/disk/by-label/foxshare";
|
||||||
|
mountPoint = "/home/xenia/foxshare";
|
||||||
|
options = ["uid=${builtins.toString config.users.users.xenia.uid}" "nofail"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user