Compare commits

...

5 commits

Author SHA1 Message Date
caandt 4bca412800 font settings 2025-01-20 11:41:20 -06:00
caandt 4d2850b58f add shift jis locale 2025-01-20 11:41:01 -06:00
caandt 9d96b28436 add 64bit wine 2025-01-20 11:40:46 -06:00
caandt 4331ec84d1 remove unnecessary podman group 2025-01-20 10:41:53 -06:00
caandt 8193868878 version bump 2025-01-19 10:24:18 -06:00
19 changed files with 71 additions and 75 deletions

View file

@ -24,7 +24,7 @@ cat << EOF > "$HOST/default.nix"
time.timeZone = "America/Chicago";
users.users.$USER = {
isNormalUser = true;
extraGroups = ["wheel" "podman"];
extraGroups = ["wheel"];
};
}
EOF

View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1734088167,
"narHash": "sha256-snPBgTqwn3FPZVdFC5yt7Bnk3squim1vZOZ8CObWykk=",
"lastModified": 1736864502,
"narHash": "sha256-ItkIZyebGvNH2dK9jVGzJHGPtb6BSWLN8Gmef16NeY0=",
"owner": "nix-community",
"repo": "disko",
"rev": "65a441502c9382d41ada1adbc9bd31d6c9b00fe2",
"rev": "0141aabed359f063de7413f80d906e1d98c0c123",
"type": "github"
},
"original": {
@ -26,11 +26,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"lastModified": 1736143030,
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
"type": "github"
},
"original": {
@ -47,11 +47,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1735066341,
"narHash": "sha256-CWWyjOgIMv08M/WScUL1Dvd3cFTSMLJEXyHlArsJ2ZI=",
"lastModified": 1737246960,
"narHash": "sha256-AsHD6Vfxx4R3FavTj0fZffhWKvg7xbUM1lNM1rryhiU=",
"owner": "wamserma",
"repo": "flake-programs-sqlite",
"rev": "832b4e206b87761d5e46fb0ff4df8c13dac93fde",
"rev": "2ae6ed65904fc67517e265b59ed1df9e7ee9e2e4",
"type": "github"
},
"original": {
@ -67,11 +67,11 @@
]
},
"locked": {
"lastModified": 1735053786,
"narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=",
"lastModified": 1737221749,
"narHash": "sha256-igllW0yG+UbetvhT11jnt9RppSHXYgMykYhZJeqfHs0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84",
"rev": "97d7946b5e107dd03cc82f21165251d4e0159655",
"type": "github"
},
"original": {
@ -89,11 +89,11 @@
"umu": "umu"
},
"locked": {
"lastModified": 1735090720,
"narHash": "sha256-Abx/6obaYLgFio8g06pcmMaRPwjKo/bOn1P+gsDMVg0=",
"lastModified": 1737250748,
"narHash": "sha256-dfmZxGmmwyYPVQCNI0IOOi5R7uFLAK0eHpjKhtntXcE=",
"owner": "fufexan",
"repo": "nix-gaming",
"rev": "95f1cc7ebe63b5a5af6c2d206ffd422739c5959e",
"rev": "bcc7d7ccdc82e63ab261ddea67e1db1d6091c35a",
"type": "github"
},
"original": {
@ -104,11 +104,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1734649271,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
"lastModified": 1737062831,
"narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507",
"rev": "5df43628fdf08d642be8ba5b3625a6c70731c19c",
"type": "github"
},
"original": {
@ -120,23 +120,23 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1733096140,
"narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=",
"lastModified": 1735774519,
"narHash": "sha256-CewEm1o2eVAnoqb6Ml+Qi9Gg/EfNAxbRx1lANGVyoLI=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
"url": "https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
"url": "https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1734875076,
"narHash": "sha256-Pzyb+YNG5u3zP79zoi8HXYMs15Q5dfjDgwCdUI5B0nY=",
"lastModified": 1737165118,
"narHash": "sha256-s40Kk/OulP3J/1JvC3VT16U4r/Xw6Qdi7SRw3LYkPWs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1807c2b91223227ad5599d7067a61665c52d1295",
"rev": "6a3ae7a5a12fb8cac2d59d7df7cbd95f9b2f0566",
"type": "github"
},
"original": {
@ -164,11 +164,11 @@
]
},
"locked": {
"lastModified": 1736203741,
"narHash": "sha256-eSjkBwBdQk+TZWFlLbclF2rAh4JxbGg8az4w/Lfe7f4=",
"lastModified": 1737107480,
"narHash": "sha256-GXUE9+FgxoZU8v0p6ilBJ8NH7k8nKmZjp/7dmMrCv3o=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "c9c88f08e3ee495e888b8d7c8624a0b2519cb773",
"rev": "4c4fb93f18b9072c6fa1986221f9a3d7bf1fe4b6",
"type": "github"
},
"original": {
@ -186,11 +186,11 @@
},
"locked": {
"dir": "packaging/nix",
"lastModified": 1734207213,
"narHash": "sha256-5CZPAeKm24Y1BKnN8Md3HUViCMCs7AVghRC+05Bdlkk=",
"lastModified": 1737161836,
"narHash": "sha256-v20q0DeglyrsIAbqwqOSxdzZ4JhEWtU9muWPlPz3Few=",
"ref": "refs/heads/main",
"rev": "6189d0d9fd062e89a375db20aeae1d1c009e9833",
"revCount": 869,
"rev": "3fd4ef90e8427cfc74d94914654a288912edb2cf",
"revCount": 901,
"submodules": true,
"type": "git",
"url": "https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix"

View file

@ -28,14 +28,11 @@
outputs = {
nixpkgs,
nixpkgs-stable,
home-manager,
flake-programs-sqlite,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs-stable = nixpkgs-stable.legacyPackages.${system};
in
with builtins;
with nixpkgs.lib.attrsets; {
@ -43,11 +40,7 @@
name = host;
value = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit pkgs-stable;
inherit flake-programs-sqlite;
inherit inputs;
};
specialArgs = {inherit inputs;};
modules = [(./hosts + "/${host}")];
};
}) (readDir ./hosts);
@ -61,11 +54,7 @@
name = "${user}@${host}";
value = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit pkgs-stable;
inherit (inputs) nix-gaming;
inherit inputs;
};
extraSpecialArgs = {inherit inputs;};
modules = [(users + "/${user}")];
};
}) (readDir users)

View file

@ -24,7 +24,7 @@
};
users.users.ahnwuoa = {
isNormalUser = true;
extraGroups = ["wheel" "podman"];
extraGroups = ["wheel"];
};
networking.firewall = {
logReversePathDrops = true;

View file

@ -15,7 +15,7 @@
users.users = {
ahnwuoa = {
isNormalUser = true;
extraGroups = ["wheel" "podman"];
extraGroups = ["wheel"];
};
u2h = {
isNormalUser = true;

View file

@ -10,4 +10,5 @@
home.username = "ahnwuoa";
u.has.activitywatch = true;
u.has.jp = true;
}

View file

@ -1,7 +1,7 @@
{
config,
pkgs,
nix-gaming,
inputs,
...
}: {
imports = [
@ -11,6 +11,6 @@
home.username = "u2h";
home.packages = [
pkgs.opentabletdriver
nix-gaming.packages."x86_64-linux".osu-stable
inputs.nix-gaming.packages."x86_64-linux".osu-stable
];
}

View file

@ -18,6 +18,6 @@
];
users.users.caandt = {
isNormalUser = true;
extraGroups = ["wheel" "podman"];
extraGroups = ["wheel"];
};
}

View file

@ -18,6 +18,6 @@
};
users.users.ahnwuoa = {
isNormalUser = true;
extraGroups = ["wheel" "podman"];
extraGroups = ["wheel"];
};
}

View file

@ -29,9 +29,9 @@
cifs-utils = super.cifs-utils.overrideAttrs (old: {
buildInputs = lib.lists.remove pkgs.libcap old.buildInputs;
});
wine = pkgs.symlinkJoin {
wineWowPackages.stable = pkgs.symlinkJoin {
name = "wine";
paths = [super.wine];
paths = [super.wineWowPackages.stable];
buildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/wine \

View file

@ -40,16 +40,17 @@
Cursor icon;
} cursors[CURSOR_COUNT] = {
- { XC_left_ptr },
+ { "left_ptr" },
{ XC_dotbox },
+ { { .name = "left_ptr" } },
- { XC_dotbox },
+ { { .num = XC_dotbox } },
- { XC_fleur },
+ { "dnd-move" },
+ { { .name = "dnd-move" } },
- { XC_watch },
+ { "wait" },
+ { { .name = "wait" } },
- { XC_sb_left_arrow },
+ { "left-arrow" },
+ { { .name = "left-arrow" } },
- { XC_sb_right_arrow }
+ { "right-arrow" }
+ { { .name = "right-arrow" } }
};
#if HAVE_LIBFONTS

View file

@ -2,7 +2,7 @@
config,
pkgs,
lib,
flake-programs-sqlite,
inputs,
...
}: {
nix.settings = {
@ -41,7 +41,7 @@
environment.etc."ssh/ssh_config".text = lib.mkAfter "Include /home/*/.local/ssh/config";
programs.command-not-found.dbPath = flake-programs-sqlite.packages.${pkgs.system}.programs-sqlite;
programs.command-not-found.dbPath = inputs.flake-programs-sqlite.packages.${pkgs.system}.programs-sqlite;
programs.ssh.enableAskPassword = false;

View file

@ -5,9 +5,18 @@
...
}: {
i18n.defaultLocale = "en_US.UTF-8";
i18n.glibcLocales =
(pkgs.glibcLocales.overrideAttrs (finalAttrs: previousAttrs: {
preBuild = builtins.replaceStrings ["false"] ["# false"] previousAttrs.preBuild;
}))
.override {
locales = config.i18n.supportedLocales;
allLocales = false;
};
i18n.supportedLocales = [
"en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8"
"ja_JP.SJIS/SHIFT_JIS"
];
i18n.inputMethod = lib.mkIf config.u.has.graphical {
enable = true;

View file

@ -2,7 +2,6 @@
config,
lib,
pkgs,
pkgs-stable,
...
}:
lib.mkIf config.u.has.graphical {
@ -25,7 +24,7 @@ lib.mkIf config.u.has.graphical {
copyq.Service.ExecStart = ["${pkgs.copyq}/bin/copyq"];
fcitx5.Service.ExecStart = ["/run/current-system/sw/bin/fcitx5"];
picom.Service.ExecStart = ["${pkgs.picom}/bin/picom"];
safeeyes.Service.ExecStart = ["${pkgs-stable.safeeyes}/bin/safeeyes"];
safeeyes.Service.ExecStart = ["${pkgs.safeeyes}/bin/safeeyes"];
snixembed.Service.ExecStart = ["${pkgs.snixembed}/bin/snixembed"];
};
}

View file

@ -13,7 +13,7 @@ if [[ "$parent" == *alacritty ]]; then
fi
# set shell level
elif [[ "$parent" == "tmux" ]]; then
export SHLVL=2
export SHLVL=1
fi
# default prompt command sets window title

View file

@ -38,7 +38,7 @@ https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
<string>ja</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans CJK JP</string>
<string>Source Han Sans</string>
</edit>
</match>
@ -73,10 +73,10 @@ https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
<string>Noto Sans</string>
</edit>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans CJK JP</string>
<string>Source Han Sans</string>
</edit>
<edit name="family" mode="prepend" binding="strong">
<string>IPAPGothic</string>
<string>Noto Sans CJK JP</string>
</edit>
</match>

View file

@ -5,8 +5,8 @@ standard_dialogs=kde
style=Lightly
[Fonts]
fixed="Noto Sans Mono,10,-1,5,50,0,0,0,0,0"
general="Noto Sans,10,-1,5,50,0,0,0,0,0"
fixed="Monospace,10,-1,5,50,0,0,0,0,0"
general="Sans Serif,10,-1,5,50,0,0,0,0,0"
[Interface]
activate_item_on_single_click=2

View file

@ -2,7 +2,6 @@
config,
lib,
pkgs,
pkgs-stable,
...
}: {
home.packages = with pkgs;
@ -41,7 +40,7 @@
picom
obs-studio
screenkey
pkgs-stable.safeeyes
safeeyes
snixembed
libsForQt5.kolourpaint
libsForQt5.filelight
@ -56,7 +55,7 @@
globalprotect-openconnect
]
++ lib.optionals config.u.has.wine [
wine
wineWowPackages.stable
winetricks
]
++ lib.optionals config.u.has.jp [

View file

@ -16,8 +16,6 @@ lib.mkIf config.u.has.prog {
nodejs
deno
gnumake
coq
coqPackages.coqide
gcc
gdb
pwndbg