mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
No commits in common. "1155a2f1a928cc1bf74b22c9c72024e5c5eb387d" and "a66ecb45f2980b5ae742f74466f762ad00405a39" have entirely different histories.
1155a2f1a9
...
a66ecb45f2
4 changed files with 2 additions and 41 deletions
|
@ -30,7 +30,7 @@
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./modules/nixos/nixos-configuration.nix
|
./configuration.nix
|
||||||
./modules/nixos/secureboot.nix
|
./modules/nixos/secureboot.nix
|
||||||
./modules/nixos/gaming.nix
|
./modules/nixos/gaming.nix
|
||||||
./modules/nixos/audio.nix
|
./modules/nixos/audio.nix
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
# List packages installed in system profile. To search by name, run:
|
|
||||||
# $ nix-env -qaP | grep wget
|
|
||||||
environment.systemPackages = with pkgs; [ ];
|
|
||||||
|
|
||||||
# Use a custom configuration.nix location.
|
|
||||||
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
|
|
||||||
# environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
|
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
|
||||||
services.nix-daemon.enable = true;
|
|
||||||
# nix.package = pkgs.nix;
|
|
||||||
|
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
|
||||||
programs.zsh.enable = true; # default shell on catalina
|
|
||||||
programs.fish.enable = true;
|
|
||||||
programs.bash.enable = true;
|
|
||||||
|
|
||||||
system.configurationRevision =
|
|
||||||
config.self.rev or config.self.dirtyRev or null;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
||||||
|
|
||||||
# Used for backwards compatibility, please read the changelog before changing.
|
|
||||||
# $ darwin-rebuild changelog
|
|
||||||
system.stateVersion = 4;
|
|
||||||
|
|
||||||
users.users.youwen = {
|
|
||||||
home = "/Users/youwen";
|
|
||||||
description = "Youwen Wu";
|
|
||||||
shell = pkgs.fish;
|
|
||||||
};
|
|
||||||
|
|
||||||
security.pam.enableSudoTouchIdAuth = true;
|
|
||||||
}
|
|
|
@ -73,7 +73,7 @@
|
||||||
useTheme = "gruvbox";
|
useTheme = "gruvbox";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fish = pkgs.lib.mkDefault {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
catppuccin.enable = true;
|
catppuccin.enable = true;
|
||||||
catppuccin.flavor = "mocha";
|
catppuccin.flavor = "mocha";
|
||||||
|
|
Loading…
Reference in a new issue