clean <host>/default.nix (part 2)
This commit is contained in:
parent
af31d0273c
commit
20bdc7b50c
2 changed files with 26 additions and 16 deletions
|
|
@ -41,7 +41,6 @@ in {
|
||||||
};
|
};
|
||||||
grub = {
|
grub = {
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
#efiInstallAsRemovable = true; # in case canTouchEfiVariables doesn't work on this system
|
|
||||||
device = "nodev";
|
device = "nodev";
|
||||||
useOSProber = false;
|
useOSProber = false;
|
||||||
};
|
};
|
||||||
|
|
@ -50,15 +49,13 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "whitesur"; # stylish, vimix, or whitesur
|
theme = "whitesur"; # stylish, vimix, or whitesur
|
||||||
footer = true;
|
footer = true;
|
||||||
customResolution = "1920x1080"; # Optional: Set a custom resolution
|
customResolution = "1920x1080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Australia/Brisbane";
|
time.timeZone = "Australia/Brisbane";
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8"; # internationalisation
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
# Enable initrd hook for virtual console customisation
|
# Enable initrd hook for virtual console customisation
|
||||||
# aka cool colours when bootting yay!!
|
# aka cool colours when bootting yay!!
|
||||||
console = {
|
console = {
|
||||||
|
|
@ -87,7 +84,7 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# ----- NETWORKING SECTION -----
|
# ----- NETWORKING -----
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "lolcathost";
|
hostName = "lolcathost";
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
config,
|
||||||
wishlist,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
home-manager = builtins.fetchTarball {
|
home-manager = builtins.fetchTarball {
|
||||||
|
|
@ -15,20 +15,35 @@ in {
|
||||||
(import "${home-manager}/nixos")
|
(import "${home-manager}/nixos")
|
||||||
|
|
||||||
../modules/steam.nix
|
../modules/steam.nix
|
||||||
|
../modules/obsidian.nix
|
||||||
|
|
||||||
|
../modules/flipperzero.nix
|
||||||
|
../modules/chameleonultragui.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = false;
|
nixpkgs.config.allowUnfreePredicate = let
|
||||||
|
whitelist = map lib.getName [
|
||||||
|
pkgs.obsidian
|
||||||
|
pkgs.gitkraken
|
||||||
|
pkgs.steam
|
||||||
|
pkgs.steamcmd
|
||||||
|
pkgs.steam-unwrapped
|
||||||
|
pkgs.dwarf-fortress
|
||||||
|
];
|
||||||
|
in
|
||||||
|
pkg: builtins.elem (lib.getName pkg) whitelist;
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi = {
|
efi = {
|
||||||
canTouchEfiVariables = true;
|
canTouchEfiVariables = true;
|
||||||
efiSysMountPoint = "/boot/efi"; #/boot/efi
|
efiSysMountPoint = "/boot/efi";
|
||||||
};
|
};
|
||||||
grub = {
|
grub = {
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
#efiInstallAsRemovable = true; # in case canTouchEfiVariables doesn't work on this system
|
|
||||||
device = "nodev";
|
device = "nodev";
|
||||||
# useOSProber = true;
|
# useOSProber = true;
|
||||||
};
|
};
|
||||||
|
# GitHub: vinceliuice/grub2-themes
|
||||||
grub2-theme = {
|
grub2-theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "whitesur"; # stylish, vimix, or whitesur
|
theme = "whitesur"; # stylish, vimix, or whitesur
|
||||||
|
|
@ -37,11 +52,9 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Australia/Brisbane";
|
time.timeZone = "Australia/Brisbane";
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8"; # internationalisation
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
# Enable initrd hook for virtual console customisation
|
# Enable initrd hook for virtual console customisation
|
||||||
# aka cool colours when bootting yay!!
|
# aka cool colours when bootting yay!!
|
||||||
console = {
|
console = {
|
||||||
|
|
@ -70,7 +83,7 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# ----- NETWORKING SECTION -----
|
# ----- NETWORKING -----
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "myputer";
|
hostName = "myputer";
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue