Compare commits
8 commits
9b150da119
...
dc4c07908c
Author | SHA1 | Date | |
---|---|---|---|
dc4c07908c | |||
60f90ff094 | |||
87b4ab23ff | |||
6faa5990e9 | |||
e295a27111 | |||
f497387642 | |||
9b452e06fa | |||
54c10e6362 |
6 changed files with 78 additions and 19 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -143,11 +143,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736283893,
|
"lastModified": 1737590910,
|
||||||
"narHash": "sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM=",
|
"narHash": "sha256-qM/y6Dtpu9Wmf5HqeZajQdn+cS0aljdYQQQnrvx+LJE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "4f339f6be2b61662f957c2ee9eda0fa597d8a6d6",
|
"rev": "9368027715d8dde4b84c79c374948b5306fdd2db",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -207,11 +207,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736012469,
|
"lastModified": 1737469691,
|
||||||
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
|
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
|
"rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -239,11 +239,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736200483,
|
"lastModified": 1737404927,
|
||||||
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
|
"narHash": "sha256-e1WgPJpIYbOuokjgylcsuoEUCB4Jl2rQXa2LUD6XAG8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
|
"rev": "ae584d90cbd0396a422289ee3efb1f1c9d141dc3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
(import ../../modules/programs/emacs.nix {})
|
(import ../../modules/programs/emacs.nix {})
|
||||||
../../modules/programs/fonts.nix
|
../../modules/programs/fonts.nix
|
||||||
../../modules/programs/desktop.nix
|
../../modules/programs/desktop.nix
|
||||||
|
../../modules/programs/media.nix
|
||||||
../../modules/programs/games.nix
|
../../modules/programs/games.nix
|
||||||
];
|
];
|
||||||
home.username = "nathan";
|
home.username = "nathan";
|
||||||
|
@ -65,8 +66,14 @@
|
||||||
# Stylus note taking
|
# Stylus note taking
|
||||||
xournalpp
|
xournalpp
|
||||||
rnote
|
rnote
|
||||||
|
# Drawing and image editing
|
||||||
|
krita
|
||||||
|
inkscape
|
||||||
|
gimp
|
||||||
# System monitoring
|
# System monitoring
|
||||||
nvtopPackages.full
|
nvtopPackages.full
|
||||||
|
# RSS reader for testing
|
||||||
|
kdePackages.akregator
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,18 +11,45 @@
|
||||||
protonmail-desktop
|
protonmail-desktop
|
||||||
signal-desktop
|
signal-desktop
|
||||||
caprine
|
caprine
|
||||||
# Media
|
|
||||||
spotify
|
|
||||||
inputs'.nixpkgs-unstable.legacyPackages.ente-web
|
|
||||||
calibre
|
|
||||||
# Utility
|
# Utility
|
||||||
protonvpn-gui
|
protonvpn-gui
|
||||||
|
# Browser
|
||||||
|
firefoxpwa
|
||||||
|
ungoogled-chromium
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
nativeMessagingHosts = with pkgs; [
|
||||||
|
kdePackages.plasma-browser-integration
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tray = {
|
tray = {
|
||||||
enable = true;
|
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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
# Git addons
|
# Git addons
|
||||||
git-secret
|
git-secret
|
||||||
delta
|
delta
|
||||||
|
pre-commit
|
||||||
# nix utilities
|
# nix utilities
|
||||||
comma
|
comma
|
||||||
nix-du
|
nix-du
|
||||||
|
|
26
home-manager/modules/programs/media.nix
Normal file
26
home-manager/modules/programs/media.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -148,9 +148,6 @@
|
||||||
extraGroups = ["networkmanager"];
|
extraGroups = ["networkmanager"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Install firefox.
|
|
||||||
programs.firefox.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
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -158,6 +155,7 @@
|
||||||
libinput
|
libinput
|
||||||
maliit-keyboard
|
maliit-keyboard
|
||||||
dconf-editor
|
dconf-editor
|
||||||
|
iptsd
|
||||||
surface-control
|
surface-control
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -165,7 +163,7 @@
|
||||||
services.iptsd = {
|
services.iptsd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.Touchscreen = {
|
config.Touchscreen = {
|
||||||
DisableOnPalm = true;
|
# DisableOnPalm = true;
|
||||||
DisableOnStylus = true;
|
DisableOnStylus = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -178,7 +176,7 @@
|
||||||
# Other power saving goodies
|
# Other power saving goodies
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
services.tlp = {
|
services.tlp = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
|
@ -188,7 +186,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
services.power-profiles-daemon.enable = false;
|
services.power-profiles-daemon.enable = true;
|
||||||
services.cpupower-gui.enable = true;
|
services.cpupower-gui.enable = true;
|
||||||
|
|
||||||
# Nvidia gpu setup
|
# Nvidia gpu setup
|
||||||
|
|
Loading…
Add table
Reference in a new issue