updates
This commit is contained in:
parent
0d6eeac4a8
commit
baca79adc7
3 changed files with 33 additions and 52 deletions
|
@ -10,12 +10,12 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
# nix = {
|
||||||
package = pkgs.nixFlakes;
|
# package = pkgs.nixFlakes;
|
||||||
extraOptions = ''
|
# extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
# experimental-features = nix-command flakes
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
# 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;
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.mira = {
|
users.users.mira = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel", "docker" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" "docker" ]; # Enable ‘sudo’ for the user.
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
tree
|
tree
|
||||||
|
@ -112,11 +112,13 @@
|
||||||
btrbk
|
btrbk
|
||||||
czkawka
|
czkawka
|
||||||
docker
|
docker
|
||||||
|
fzf
|
||||||
hyfetch
|
hyfetch
|
||||||
hyperfine
|
hyperfine
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
lazydocker
|
lazydocker
|
||||||
lazygit
|
lazygit
|
||||||
|
git
|
||||||
lsd
|
lsd
|
||||||
mcfly
|
mcfly
|
||||||
neovim
|
neovim
|
||||||
|
@ -138,26 +140,26 @@
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
programs.zoxide = {
|
# programs.zoxide = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
enableBashIntegration = true;
|
# enableBashIntegration = true;
|
||||||
enableFishIntegration = true;
|
# enableFishIntegration = true;
|
||||||
enableZshIntegration = true;
|
# enableZshIntegration = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.fzf = {
|
# programs.fzf = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
enableBashIntegration = true;
|
# enableBashIntegration = true;
|
||||||
enableFishIntegration = true;
|
# enableFishIntegration = true;
|
||||||
enableZshIntegration = true;
|
# enableZshIntegration = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.mcfly = {
|
# programs.mcfly = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
enableBashIntegration = true;
|
# enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
# enableZshIntegration = true;
|
||||||
enableFishIntegration = true;
|
# enableFishIntegration = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
|
@ -171,7 +173,7 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualization.docker = {
|
virtualisation.docker = {
|
||||||
storageDriver = "overlay2";
|
storageDriver = "overlay2";
|
||||||
enableOnBoot = true;
|
enableOnBoot = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
21
flake.nix
21
flake.nix
|
@ -1,21 +0,0 @@
|
||||||
# /etc/nixos/flake.nix
|
|
||||||
{
|
|
||||||
description = "flake for mira::auxin";
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs = {
|
|
||||||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs }: {
|
|
||||||
nixosConfigurations = {
|
|
||||||
auxin = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = [
|
|
||||||
./configuration.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -16,19 +16,19 @@
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nixos", "noatime" ];
|
options = [ "subvol=@nixos" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" =
|
fileSystems."/nix" =
|
||||||
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nix", "noatime" ];
|
options = [ "subvol=@nix" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" =
|
fileSystems."/home" =
|
||||||
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@home", "noatime", "compress=zstd" ];
|
options = [ "subvol=@home" "noatime" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
fileSystems."/swap" =
|
fileSystems."/swap" =
|
||||||
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
{ device = "/dev/disk/by-uuid/b6931dc5-1ccb-4d81-abf6-38b6febc6176";
|
||||||
|
@ -44,10 +44,10 @@
|
||||||
fileSystems."/raid" =
|
fileSystems."/raid" =
|
||||||
{ device = "/dev/sdb1";
|
{ device = "/dev/sdb1";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "noatime", "noauto", "x-systemd.automount", "nofail", "space_cache=v2", "compress=zstd"]
|
# options = [ "noatime" "noauto" "x-systemd.automount" "nofail" "space_cache=v2" "compress=zstd"];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ "/swap/swapfile" ];
|
# swapDevices = [ "/swap/swapfile" ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
Loading…
Add table
Reference in a new issue