Update
This commit is contained in:
parent
798ff0bdc6
commit
34f3b9d4de
|
@ -13,29 +13,9 @@ in
|
||||||
(import "${home-manager}/nixos")
|
(import "${home-manager}/nixos")
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/".options = [ "compress=zstd" ];
|
||||||
{ device = "/dev/disk/by-uuid/d488d0d7-c1df-49b7-b713-2f6397bd86fb";
|
fileSystems."/home".options = [ "compress=zstd" ];
|
||||||
fsType = "btrfs";
|
fileSystems."/nix".options = [ "compress=zstd" "noatime" ];
|
||||||
options = [ "compress=zstd" "subvol=nixroot" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home" =
|
|
||||||
{ device = "/dev/disk/by-uuid/d488d0d7-c1df-49b7-b713-2f6397bd86fb";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "compress=zstd" "subvol=home" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nix" =
|
|
||||||
{ device = "/dev/disk/by-uuid/d488d0d7-c1df-49b7-b713-2f6397bd86fb";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "compress=zstd" "noatime" "subvol=nix" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/B0E9-D206";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
# 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;
|
||||||
|
@ -103,12 +83,12 @@ in
|
||||||
#media-session.enable = true;
|
#media-session.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# 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.daan = {
|
users.users.daan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Daan Vanoverloop";
|
description = "Daan Vanoverloop";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
shell = pkgs.zsh;
|
# shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.daan = { pkgs, ... }: {
|
home-manager.users.daan = { pkgs, ... }: {
|
||||||
|
@ -117,8 +97,24 @@ in
|
||||||
|
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
|
||||||
|
imports = [ ./dconf.nix ./gnome.nix ];
|
||||||
|
|
||||||
|
home.sessionVariables = { GTK_THEME = "Adwaita:dark"; };
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
programs.helix = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
theme = "onedark";
|
||||||
|
editor = {
|
||||||
|
line-number = "relative";
|
||||||
|
cursor-shape.insert = "bar";
|
||||||
|
soft-wrap.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
@ -129,6 +125,7 @@ in
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
COLORTERM = "truecolor";
|
COLORTERM = "truecolor";
|
||||||
|
NIX_BUILD_SHELL = "zsh";
|
||||||
};
|
};
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -142,13 +139,19 @@ in
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nil
|
nil
|
||||||
|
jellyfin-media-player
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.kdeconnect = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.gnomeExtensions.gsconnect;
|
||||||
|
};
|
||||||
|
|
||||||
|
# programs.zsh.enable = true;
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
|
@ -160,6 +163,10 @@ in
|
||||||
openssh
|
openssh
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
intel-media-driver
|
||||||
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue