adding nixbook
This commit is contained in:
parent
17f1e429d6
commit
5d6e9c93fb
5 changed files with 51 additions and 45 deletions
|
|
@ -123,8 +123,9 @@
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
(pkgsForSystem + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||||
./systems/nixbook/configuration.nix
|
./systems/nixbook/configuration.nix
|
||||||
|
nixos-hardware.nixosModules.dell-inspiron-7405
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
syl = lib.nixosSystem {
|
syl = lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -278,6 +278,10 @@ in {
|
||||||
plugins = [ pkgs.obs-studio-plugins.obs-move-transition ];
|
plugins = [ pkgs.obs-studio-plugins.obs-move-transition ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.zed-editor = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# home.file.".config/mpv" = {
|
# home.file.".config/mpv" = {
|
||||||
# source = ../.config/mpv;
|
# source = ../.config/mpv;
|
||||||
# };
|
# };
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ in
|
||||||
"Super+Space".action.spawn = ["${pkgs.fish}/bin/fish" "-c" "rofi -no-lazy-grab -modi combi -show combi -combi-modi drun,run"];
|
"Super+Space".action.spawn = ["${pkgs.fish}/bin/fish" "-c" "rofi -no-lazy-grab -modi combi -show combi -combi-modi drun,run"];
|
||||||
"Super+Shift+W".action.spawn = "rofi -i -show window";
|
"Super+Shift+W".action.spawn = "rofi -i -show window";
|
||||||
"Super+V".action = spawn ["${pkgs.fish}/bin/fish" "-c" "${pkgs.cliphist}/bin/cliphist list | ${pkgs.rofi}/bin/rofi -p ' ' -dmenu | ${pkgs.cliphist}/bin/cliphist decode | ${pkgs.wl-clipboard}/bin/wl-copy"];
|
"Super+V".action = spawn ["${pkgs.fish}/bin/fish" "-c" "${pkgs.cliphist}/bin/cliphist list | ${pkgs.rofi}/bin/rofi -p ' ' -dmenu | ${pkgs.cliphist}/bin/cliphist decode | ${pkgs.wl-clipboard}/bin/wl-copy"];
|
||||||
"Super+I".action.spawn = ["alacritty" "--class" "btm" "-e" "btm"];
|
"Super+I".action.spawn = ["alacritty" "--class" "btm" "-e" "btop"];
|
||||||
"Super+Alt+B".action.spawn = ["alacritty" "--class" "bluetui" "-e" "bluetui"];
|
"Super+Alt+B".action.spawn = ["alacritty" "--class" "bluetui" "-e" "bluetui"];
|
||||||
"Super+Alt+W".action.spawn = ["alacritty" "--class" "impala" "-e" "impala"];
|
"Super+Alt+W".action.spawn = ["alacritty" "--class" "impala" "-e" "impala"];
|
||||||
"Super+A".action.spawn = ["alacritty" "--class" "pulsemixer" "-e" "${pkgs.wiremix}/bin/wiremix"];
|
"Super+A".action.spawn = ["alacritty" "--class" "pulsemixer" "-e" "${pkgs.wiremix}/bin/wiremix"];
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
# ./hardware-configuration.nix
|
||||||
../../pkgs/base-packages.nix
|
# ../../pkgs/base-packages.nix
|
||||||
./pkgs.nix
|
./pkgs.nix
|
||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
];
|
];
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
boot.supportedFilesystems = [ "ntfs" ];
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
desktopManager.cosmic.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
@ -66,8 +66,9 @@
|
||||||
greetd.enableKwallet = true;
|
greetd.enableKwallet = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.displayManager.cosmic-greeter = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
wayland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
|
@ -142,44 +143,41 @@
|
||||||
services.usbmuxd.enable = true;
|
services.usbmuxd.enable = true;
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
virtualisation.libvirtd = {
|
# virtualisation.libvirtd = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
qemu = {
|
# qemu = {
|
||||||
runAsRoot = false;
|
# runAsRoot = false;
|
||||||
ovmf = {
|
# ovmf = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
packages = [
|
# packages = [
|
||||||
pkgs.OVMFFull.fd
|
# pkgs.OVMFFull.fd
|
||||||
pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd
|
# pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
swtpm.enable = true;
|
# swtpm.enable = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
services.samba-wsdd.enable = true;
|
# services.samba-wsdd.enable = true;
|
||||||
services.samba = {
|
# services.samba = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
shares = {
|
# shares = {
|
||||||
public = {
|
# public = {
|
||||||
path = "/home/abbie";
|
# path = "/home/abbie";
|
||||||
"read only" = false;
|
# "read only" = false;
|
||||||
browsable = true;
|
# browsable = true;
|
||||||
"guest ok" = true;
|
# "guest ok" = true;
|
||||||
comment = "Share";
|
# comment = "Share";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# nixpkgs.config.packageOverrides = pkgs: {
|
# nixpkgs.config.packageOverrides = pkgs: {
|
||||||
# vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
# vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||||
# };
|
# };
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "intel" ];
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
|
||||||
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
samba
|
samba
|
||||||
pinentry
|
pinentry
|
||||||
pinentry-qt
|
pinentry-qt
|
||||||
caffeine-ng
|
# caffeine-ng
|
||||||
hunspell
|
hunspell
|
||||||
hunspellDicts.en_US-large
|
hunspellDicts.en_US-large
|
||||||
openssh
|
openssh
|
||||||
|
|
@ -53,15 +53,18 @@
|
||||||
kdePackages.kdegraphics-thumbnailers
|
kdePackages.kdegraphics-thumbnailers
|
||||||
kdePackages.kdesdk-thumbnailers
|
kdePackages.kdesdk-thumbnailers
|
||||||
kdePackages.okular
|
kdePackages.okular
|
||||||
scribus
|
kdePackages.discover
|
||||||
|
kdePackages.sddm-kcm
|
||||||
|
hardinfo2
|
||||||
|
# scribus
|
||||||
brightnessctl
|
brightnessctl
|
||||||
mpc-cli
|
mpc-cli
|
||||||
ungoogled-chromium
|
# ungoogled-chromium
|
||||||
brave
|
brave
|
||||||
kdePackages.kwallet-pam
|
kdePackages.kwallet-pam
|
||||||
aria2
|
aria2
|
||||||
kdePackages.kwallet
|
kdePackages.kwallet
|
||||||
nerd-fonts.victor-mono
|
# nerd-fonts.victor-mono
|
||||||
kdePackages.plasma-browser-integration
|
kdePackages.plasma-browser-integration
|
||||||
glxinfo
|
glxinfo
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
|
|
@ -71,8 +74,8 @@
|
||||||
phinger-cursors
|
phinger-cursors
|
||||||
kdePackages.kde-cli-tools
|
kdePackages.kde-cli-tools
|
||||||
gzip
|
gzip
|
||||||
virt-viewer
|
# virt-viewer
|
||||||
inkscape
|
# inkscape
|
||||||
libreoffice-qt6-fresh
|
libreoffice-qt6-fresh
|
||||||
vlc
|
vlc
|
||||||
any-nix-shell
|
any-nix-shell
|
||||||
|
|
@ -83,14 +86,14 @@
|
||||||
mediainfo
|
mediainfo
|
||||||
libmediainfo
|
libmediainfo
|
||||||
rubberband
|
rubberband
|
||||||
texlive.combined.scheme-full
|
# texlive.combined.scheme-full
|
||||||
pamixer
|
pamixer
|
||||||
playerctl
|
playerctl
|
||||||
gimp
|
# gimp
|
||||||
power-profiles-daemon
|
power-profiles-daemon
|
||||||
python3
|
python3
|
||||||
kdePackages.plasma-sdk
|
kdePackages.plasma-sdk
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
cosmic-settings
|
# cosmic-settings
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue