Compare commits

...

8 commits

6 changed files with 78 additions and 19 deletions

18
flake.lock generated
View file

@ -143,11 +143,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1736283893,
"narHash": "sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM=",
"lastModified": 1737590910,
"narHash": "sha256-qM/y6Dtpu9Wmf5HqeZajQdn+cS0aljdYQQQnrvx+LJE=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "4f339f6be2b61662f957c2ee9eda0fa597d8a6d6",
"rev": "9368027715d8dde4b84c79c374948b5306fdd2db",
"type": "github"
},
"original": {
@ -207,11 +207,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"lastModified": 1737469691,
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab",
"type": "github"
},
"original": {
@ -239,11 +239,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"lastModified": 1737404927,
"narHash": "sha256-e1WgPJpIYbOuokjgylcsuoEUCB4Jl2rQXa2LUD6XAG8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"rev": "ae584d90cbd0396a422289ee3efb1f1c9d141dc3",
"type": "github"
},
"original": {

View file

@ -35,6 +35,7 @@
(import ../../modules/programs/emacs.nix {})
../../modules/programs/fonts.nix
../../modules/programs/desktop.nix
../../modules/programs/media.nix
../../modules/programs/games.nix
];
home.username = "nathan";
@ -65,8 +66,14 @@
# Stylus note taking
xournalpp
rnote
# Drawing and image editing
krita
inkscape
gimp
# System monitoring
nvtopPackages.full
# RSS reader for testing
kdePackages.akregator
];
}
)

View file

@ -11,18 +11,45 @@
protonmail-desktop
signal-desktop
caprine
# Media
spotify
inputs'.nixpkgs-unstable.legacyPackages.ente-web
calibre
# Utility
protonvpn-gui
# Browser
firefoxpwa
ungoogled-chromium
];
programs.firefox = {
enable = true;
nativeMessagingHosts = with pkgs; [
kdePackages.plasma-browser-integration
];
};
services.syncthing = {
enable = true;
tray = {
enable = true;
};
};
# Setup foot as our terminal emulator
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
font = "JetBrainsMono NF:size=8";
dpi-aware = "yes";
};
};
};
# Refresh the KDE applications cache, this really should be in upstream home
# manager, but its not for some reason
home.activation = {
kdeApplicationCache = lib.hm.dag.entryAfter ["installPackages"] ''
run rm ~/.cache/ksycoca6_* -rf
run kbuildsycoca6
'';
};
}

View file

@ -9,6 +9,7 @@
# Git addons
git-secret
delta
pre-commit
# nix utilities
comma
nix-du

View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
inputs',
...
}: {
home.packages = with pkgs; [
# Media
spotify
inputs'.nixpkgs-unstable.legacyPackages.ente-web
calibre
freetube
];
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
mpris
modernz
memo
mpv-cheatsheet
webtorrent-mpv-hook
];
};
}

View file

@ -148,9 +148,6 @@
extraGroups = ["networkmanager"];
};
# Install firefox.
programs.firefox.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
@ -158,6 +155,7 @@
libinput
maliit-keyboard
dconf-editor
iptsd
surface-control
];
@ -165,7 +163,7 @@
services.iptsd = {
enable = true;
config.Touchscreen = {
DisableOnPalm = true;
# DisableOnPalm = true;
DisableOnStylus = true;
};
};
@ -178,7 +176,7 @@
# Other power saving goodies
hardware.enableAllFirmware = true;
services.tlp = {
enable = true;
enable = false;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
@ -188,7 +186,7 @@
};
};
powerManagement.enable = true;
services.power-profiles-daemon.enable = false;
services.power-profiles-daemon.enable = true;
services.cpupower-gui.enable = true;
# Nvidia gpu setup