new applications & fixes for nixos

This commit is contained in:
Maddie H 2023-10-07 10:30:12 +01:00
parent 820d644846
commit e9587b46b2
Signed by: maddie
GPG Key ID: C296DE8C9053683F
22 changed files with 36 additions and 37 deletions

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1692248770,
"narHash": "sha256-tZeFpETKQGbgnaSIO1AGWD27IyTcBm4D+A9d7ulQ4NM=",
"lastModified": 1696360011,
"narHash": "sha256-HpPv27qMuPou4acXcZ8Klm7Zt0Elv9dgDvSJaomWb9Y=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "511177ffe8226c78c9cf6a92a7b5f2df3684956b",
"rev": "8b6ea26d5d2e8359d06278364f41fbc4b903b28a",
"type": "github"
},
"original": {
@ -27,11 +27,11 @@
]
},
"locked": {
"lastModified": 1692763155,
"narHash": "sha256-qMrGKZ8c/q/mHO3ZdrcBPwiVVXPLLgXjY98Ejqb5kAA=",
"lastModified": 1696409884,
"narHash": "sha256-hz3i4wFJHoTIAEI19oF1fiPn6TpV+VuTSOrSHUoJMgs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6a20e40acaebf067da682661aa67da8b36812606",
"rev": "8aef005d44ee726911e9f793495bb40f2fbf5a05",
"type": "github"
},
"original": {
@ -42,11 +42,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1693028636,
"narHash": "sha256-WOG42JO/yyvgYK3jQktDEy2qtZI7R+s3Lo4Y9gBr6XM=",
"lastModified": 1696385948,
"narHash": "sha256-GSUIyYROcOExkGt3hDPDPeu/7ska2StMCL0voxMK/ws=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e61ea96d43505ba0d2c066134eb9d67cadfddce7",
"rev": "d1c9180c6d1f8fce9469436f48c1cb8180d7087d",
"type": "github"
},
"original": {

View File

@ -1,7 +1,7 @@
{ config, ... }:
{
programs.exa = {
programs.eza = {
enable = true;
enableAliases = true;
extraOptions = [

View File

@ -13,6 +13,7 @@ let
argon2_cffi
python-dotenv
python-lsp-server
openrgb-python
];
in
{

View File

@ -27,7 +27,7 @@
unfuck-wifi = "doas systemctl restart wpa_supplicant.service";
search = "f=$(fzf) && cd \"$f\" 2>/dev/null || xdg-open \"$f\" >/dev/null 2>&1";
cdt = "cd $(mktemp -d)";
sx = "startx ~/.config/x11/xinitrc";
sx = "startx ~/.xprofile";
sdn = "doas shutdown -h now";
kys = "kill $(pidof '$@')";

0
maddie/nixos/dmenu/dmenu-code Normal file → Executable file
View File

0
maddie/nixos/dmenu/dmenu-man Normal file → Executable file
View File

View File

@ -6,6 +6,7 @@
jetbrains.goland
jetbrains.webstorm
jetbrains.datagrip
jetbrains.rust-rover
jetbrains.pycharm-professional
];
}

View File

@ -3,7 +3,7 @@
{
services.kdeconnect.enable = true;
home.file.".xinitrc".text = ''
home.file.".xprofile".text = ''
# Start kdeconnect when entering a graphical session
systemctl restart --user kdeconnect.service &
'';

View File

@ -5,7 +5,7 @@
openrgb-with-all-plugins
];
home.file.".xinitrc".text = ''
home.file.".xprofile".text = ''
# Set RGB perhipherals to white
${pkgs.openrgb}/bin/openrgb -c white -m static &

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
home.file.".xinitrc".text = ''
home.file.".xprofile".text = ''
# Import xorg environment into systemd for the picom service to work
systemctl --user import-environment XAUTHORITY DISPLAY &

View File

@ -6,7 +6,7 @@
storePath = "${config.xdg.dataHome}/password-store";
};
home.file.".xinitrc".text = ''
home.file.".xprofile".text = ''
# Restart pass-secret-service as it tends to start failed
systemctl restart --user pass-secret-service.service &
'';

View File

@ -5,7 +5,7 @@
slstatus
];
home.file.".xinitrc".text = ''
home.file.".xprofile".text = ''
# Start slstatus
${pkgs.slstatus}/bin/slstatus &
'';

View File

@ -2,6 +2,6 @@
{
home.packages = with pkgs; [
syncplay
#syncplay
];
}

7
maddie/nixos/uxplay.nix Normal file
View File

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
uxplay
];
}

View File

@ -43,9 +43,9 @@
"*.font" = "Iosevka:pixelsize=12:antialias=true:autohint=true";
};
# Configure ~/.xinitrc
# Configure ~/.xprofile
programs.feh.enable = true;
home.file.".xinitrc".text = ''
home.file.".xprofile".text = ''
# Monitor configuration
${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-0 --noprimary --mode 2560x1440 --pos 2560x0 --rotate right
${pkgs.xorg.xrandr}/bin/xrandr --output DP-0 --primary --mode 2560x1440 --pos 0x560

View File

@ -15,12 +15,6 @@
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.initrd.systemd.enable = true;
# Plymouth
boot.plymouth = {
enable = true;
#logo = ./plymouth/logo.png;
};
# Setup crypto keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
@ -31,9 +25,11 @@
boot.initrd.luks.devices."luks-16dda63d-9dce-4ef2-9da6-ee458ba3c44c".device = "/dev/disk/by-uuid/16dda63d-9dce-4ef2-9da6-ee458ba3c44c";
boot.initrd.luks.devices."luks-c180a121-376a-432e-a661-f4be3cc23dfa".keyFile = "/crypto_keyfile.bin";
# Kernel settings
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "video=2560x1440@180" ];
boot.extraModulePackages = [ ];
# Use the linux-zen kernel

View File

@ -8,5 +8,6 @@
source-han-sans
source-han-serif
source-han-code-jp
terminus_font
];
}

View File

@ -1,4 +1,4 @@
{ config, ... }:
{ config, pkgs, ... }:
{
# Time zone
@ -7,7 +7,7 @@
# Internationalisation properties
i18n.defaultLocale = "en_GB.UTF-8";
console = {
font = "Lat2-Terminus16";
font = "${pkgs.terminus_font}/share/consolefonts/ter-v12n.psf.gz";
keyMap = "uk";
};
}

View File

@ -6,7 +6,7 @@
hardware.opengl.driSupport32Bit = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
hardware.nvidia.open = false;
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.modesetting.enable = false;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.extraPackages = [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@ -5,21 +5,13 @@
# Enable X11 windowing system
enable = true;
# Set gb X11 keymap
# Set X11 keymap as GB
layout = "gb";
xkbOptions = "eurosign:e";
displayManager = {
# Use startx for starting window managers
startx.enable = true;
# Use sddm for starting KDE
# sddm.enable = true;
};
# Enable KDE Plasma 5
/* desktopManager = {
plasma5.enable = true;
}; */
};
}

View File

@ -43,6 +43,7 @@
"zed"
"neovide"
"pycharm"
"rustrover"
"webstorm"
"clion"
"goland"