This commit is contained in:
2026-02-24 23:27:24 +00:00
parent dcaaeb02e1
commit 1ef5057dff
9 changed files with 87 additions and 91 deletions

8
flake.lock generated
View File

@@ -45,16 +45,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1713995372,
"narHash": "sha256-fFE3M0vCoiSwCX02z8VF58jXFRj9enYUSTqjyHAjrds=",
"lastModified": 1771574726,
"narHash": "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "dd37924974b9202f8226ed5d74a252a9785aedf8",
"rev": "c217913993d6c6f6805c3b1a3bda5e639adfde6d",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.11",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}

View File

@@ -2,7 +2,7 @@
description = "Stationette nix config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
@@ -36,13 +36,13 @@
stationette = nixpkgs.lib.nixosSystem {
modules = [
./system/configuration.nix
home-manager.nixosModules.home-manager {
home-manager.users.chris = import ./home;
home-manager.extraSpecialArgs = {
inherit pkgs-unstable;
inherit inputs;
};
}
home-manager.nixosModules.home-manager {
home-manager.users.chris = import ./home;
home-manager.extraSpecialArgs = {
inherit pkgs-unstable;
inherit inputs;
};
}
];
};
};

View File

@@ -14,6 +14,7 @@
permittedInsecurePackages = [
"electron-25.9.0" # Obsidian
"beekeeper-studio-5.3.4"
];
};
};

View File

@@ -17,28 +17,27 @@
obsidian
thunderbird
libreoffice-qt
nerd-fonts.fira-code
# pkgs-unstable.nerd-fonts.fira-code
hunspell
blueberry
steam
steam-run
yuzu-mainline
viewnior
pkgs-unstable.hyprshot
catppuccin-cursors.macchiatoBlue
catppuccin-gtk
papirus-folders
php84Packages.composer
php84Packages.xdebug
php84Extensions.sqlite3
php84Extensions.redis
php84Extensions.sodium
php84Extensions.pgsql
php84Extensions.iconv
php84Extensions.gd
php84Extensions.zip
# pkgs-unstable.php84Packages.composer
# pkgs-unstable.php84Packages.xdebug
# pkgs-unstable.php84Extensions.sqlite3
# pkgs-unstable.php84Extensions.redis
# pkgs-unstable.php84Extensions.sodium
# pkgs-unstable.php84Extensions.pgsql
# pkgs-unstable.php84Extensions.iconv
# pkgs-unstable.php84Extensions.gd
# pkgs-unstable.php84Extensions.zip
php
antigravity
# antigravity
gimp
kdePackages.dolphin
enpass
@@ -57,7 +56,6 @@
zathura
ghostty
wally-cli
youtube-dl
kdePackages.wacomtablet
kdePackages.print-manager
mpv

View File

@@ -1,4 +1,4 @@
{ inputs, ... }:
{ pkgs, inputs, ... }:
let
lock-false = {
@@ -69,62 +69,62 @@ in
};
};
};
};
/* ---- PROFILES ---- */
# Switch profiles via about:profiles page.
# For options that are available in Home-Manager see
# https://nix-community.github.io/home-manager/options.html#opt-programs.firefox.profiles
profiles ={
chris = { # choose a profile name; directory is /home/<user>/.mozilla/firefox/chris
id = 0; # 0 is the default profile; see also option "isDefault"
name = "chris"; # name as listed in about:profiles
isDefault = true; # can be omitted; true if profile ID is 0
settings = { # specify profile-specific preferences here; check about:config for options
"browser.startup.homepage" = "https://tower.scarif.space";
# "browser.newtabpage.pinned" = [{
# title = "NixOS";
# url = "https://nixos.org";
# }];
};
search = {
force = true;
default = "holocron";
engines = {
holocron = {
name = "Holocron";
urls = [{
template = "https://holocron.scarif.space/search";
params = [
{ name = "q"; value = "{searchTerms}"; }
];
}];
iconUpdateURL = "https://holocron.scarif.space/static/themes/simple/img/favicon.png";
definedAliases = [ "@h" ]; # Allows you to type '@s query' in the URL bar
/* ---- PROFILES ---- */
# Switch profiles via about:profiles page.
# For options that are available in Home-Manager see
# https://nix-community.github.io/home-manager/options.html#opt-programs.firefox.profiles
profiles ={
chris = { # choose a profile name; directory is /home/<user>/.mozilla/firefox/chris
id = 0; # 0 is the default profile; see also option "isDefault"
name = "chris"; # name as listed in about:profiles
isDefault = true; # can be omitted; true if profile ID is 0
settings = { # specify profile-specific preferences here; check about:config for options
"browser.startup.homepage" = "https://tower.scarif.space";
# "browser.newtabpage.pinned" = [{
# title = "NixOS";
# url = "https://nixos.org";
# }];
};
search = {
force = true;
default = "holocron";
engines = {
holocron = {
name = "Holocron";
urls = [{
template = "https://holocron.scarif.space/search";
params = [
{ name = "q"; value = "{searchTerms}"; }
];
}];
iconUpdateURL = "https://holocron.scarif.space/static/themes/simple/img/favicon.png";
definedAliases = [ "@h" ]; # Allows you to type '@s query' in the URL bar
};
nix-packages = {
name = "Nix Packages";
urls = [{
template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
nixos-wiki = {
name = "NixOS Wiki";
urls = [{ template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; }];
iconMapObj."16" = "https://wiki.nixos.org/favicon.ico";
definedAliases = [ "@nw" ];
};
bing.metaData.hidden = true;
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias
};
nix-packages = {
name = "Nix Packages";
urls = [{
template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
nixos-wiki = {
name = "NixOS Wiki";
urls = [{ template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; }];
iconMapObj."16" = "https://wiki.nixos.org/favicon.ico";
definedAliases = [ "@nw" ];
};
bing.metaData.hidden = true;
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias
};
};
};

View File

@@ -5,7 +5,6 @@
bluetooth.enable = true;
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
};

View File

@@ -9,15 +9,15 @@
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
extraConfig = ''
DefaulTimeoutStopSec=10s
'';
# extraConfig = ''
# DefaulTimeoutStopSec=10s
# '';
};
environment.systemPackages = with pkgs; [

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }:
{
sound.enable = true;
# sound.enable = true;
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;

View File

@@ -9,8 +9,6 @@
qemu = {
swtpm.enable = true;
ovmf.enable = true;
# ovmf.packages = [ pkgs.OVMFFULL.fd ];
};
};